Hi,

  In copyin.c line 1269 is the code:

      swab_array ((char *) &short_hdr, 13);

I get a segfault shortly after that - I'm fairly sure that & shouldn't
be there - it's byteswapping the pointer rather than the data.

  I've filed an Ubuntu bug against this as well since that is where
I originally found it, but looking at the code it is in the plain
GNU source, there is a binary file attached to this bug that 
triggers the seg:

 Ubuntu bug is here:
https://bugs.launchpad.net/ubuntu/+source/cpio/+bug/139928

Dave
-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    | Running GNU/Linux on Alpha,68K| Happy  \ 
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/


_______________________________________________
Bug-cpio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-cpio

Reply via email to