cpio segfaults with "-E" on a non-existing file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU cpio |
Unknown
|
Unknown
|
|||
cpio (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
Bug Description
Binary package hint: cpio
Ubuntu release information (lsb_release -a):
Distributor ID: Ubuntu
Description: Ubuntu 7.10
Release: 7.10Codename: 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_
#0 0xb7e1f46d in getc () from /lib/tls/
#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
LAST TESTED VERSION: Maverick
description: | updated |
Changed in cpio: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Is this symptom still reproducible in 8.10 or 9.04?