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
people's front against (bozotic) www (softwar foundation)
System: NetBSD 5.0_BETA NetBSD 5.0_BETA (_splode_) #54: 
Wed Nov 26 17:42:37 EST 2008
Architecture: sparc
Machine: sparc

        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.


        attempted to use gzip decompress a .bz2 created by pbzip2.


        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