← Back to team overview

registry team mailing list archive

[Bug 186366] Re: cpio segfaults with "-E" on a non-existing file

 

** Description changed:

  Binary package hint: cpio
  
  Ubuntu release information (lsb_release -a):
  
  Distributor ID: Ubuntu
  Description:    Ubuntu 7.10
- Release:        7.10
- Codename:       gutsy
+ 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_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
+ 
+ LAST TESTED VERSION: Maverick

** Also affects: cpio
   Importance: Undecided
       Status: New

** Bug watch added: GNU Savannah Bug Tracker #28954
   http://savannah.gnu.org/bugs/?28954

** Changed in: cpio
   Importance: Undecided => Unknown

** Changed in: cpio
       Status: New => Unknown

** Changed in: cpio
 Remote watch: None => GNU Savannah Bug Tracker #28954

-- 
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 Registry
Administrators, which is the registrant for GNU cpio.