bug#1073: [BusyBox] bug#1073: busybox gzip: Memory Fault

Glenn McGrath bug1 at optushome.com.au
Wed Nov 8 14:02:43 UTC 2000


David Douthitt wrote:
> 
> Package: busybox
> Version: 0.48pre
> 
> Compiled: 2000.11.07-14:34+0000
> 
> gzip fails after reading so many bytes.  I did:
> 
> strace gzip foo.tar
> 
> and it said...
> 
> read(3, "................" ..., 65536) = 65536
> read(3, "................" ..., 32768) = 32768
> read(3, "................" ..., 32768) = 32768
> --- SIGSEGV (Segmentation Fault) ---
> +++ killed by SIGSEGV +++
> 
> I did:
> 
> ctar /usr/bin/* | strace gzip -c - > foo.tar.gz
> 
> and it did:
> 
> read(0, "....................." ..., 28672) = 4096
> read(0, "....................." ..., 24576) = 4096
> read(0, "....................." ..., 20480) = 4096
> --- SIGSEGV (Segmentation Fault) ---
> +++ killed by SIGSEGV +++
> 
> ...the "....." contained arbitrary data from the data stream
> apparently.
> 

I succesfully gziped the kernel source.tar, can you give any more
details about the file you are trying to compress, or confirm the
problem isnt specific to your machine.


Thanks

Glenn






More information about the busybox mailing list