bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-cpio] segfault caused by an extra &


From: Dr. David Alan Gilbert
Subject: [Bug-cpio] segfault caused by an extra &
Date: Sun, 23 Sep 2007 16:10:52 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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   |_______/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]