Public bug reported:

Binary package hint: cpio
Ubuntu release information (lsb_release -a):

Distributor ID: Ubuntu
Description:    Ubuntu 7.10
Release:        7.10
Codename:       gutsy

Package version: 2.8-1ubuntu2

Problem: cpio segfaults when -E option is used on a non-existing file.
Eg:

$ cpio -E no_such_file -t
cpio: no_such_file: Cannot open: No such file or directory
Segmentation fault (core dumped)

GDB backtrace (after recompiling the package with
"DEB_BUILD_OPTIONS=nostrip,debug"):

#0  0xb7e1f46d in getc () from /lib/tls/i686/cmov/libc.so.6
#1  0x0804f983 in ds_fgetstr (f=0x0, s=0xbfe533c0, eos=10 '\n') at dstring.c:74
#2  0x0804b8c8 in process_copy_in () at copyin.c:947
#3  0x08050cc0 in main (argc=128, argv=0x806b6f8) at main.c:794

** Affects: cpio (Ubuntu)
     Importance: Undecided
         Status: New

-- 
cpio segfaults with "-E" on a non-existing file
https://bugs.launchpad.net/bugs/186366
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to