NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/41793: gzip fails to decompress multiple logical bzip2 streams created pbzip2
>Number: 41793
>Category: bin
>Synopsis: gzip fails to decompress multiple logical bzip2 streams
>created pbzip2
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 28 02:00:00 +0000 2009
>Originator: matthew green
>Release: NetBSD 5.0_BETA
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
System: NetBSD splode.eterna.com.au 5.0_BETA NetBSD 5.0_BETA (_splode_) #54:
Wed Nov 26 17:42:37 EST 2008
mrg%splode.eterna.com.au@localhost:/scratch/tmp/obj/sparc/usr/src/sys/arch/sparc/compile/_splode_
sparc
Architecture: sparc
Machine: sparc
>Description:
pbzip2 creates differently structured bzip2 files than normal
bzip2 does. these files fail to decompress properly with the
gzip/unbzip2.c sources (and also the python BZ2File module.)
the problem is that pbzip2 creates multiple logical streams
in the output file, and when the decompression routine returns
BZ_STREAM_END not at the end of a file, and gzip/unbzip2.c is
not written to handle this case.
>How-To-Repeat:
attempted to use gzip decompress a .bz2 created by pbzip2.
>Fix:
i'm not sure. my quick attempt to re-init the stream does
not work. filing this PR to keep track of the problem.
Home |
Main Index |
Thread Index |
Old Index