Hey @Mark, Thanks for provide these tests (https://sourceware.org/git/?p=bzip2-tests.git;a=summary). I ran our internal regression tests on the version patched and also the tests you provided. Our tests passed, but yours fails (believe is the same you mentioned in Debian-bug).
See bellow:
!!! 1 .bz files did not decompressed/recompressed correctly.
Testing detection of bad input data...
Processing ./go/compress/fail-issue5747.bz2.bad
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing.
Processing ./lbzip2/cve.bz2.bad
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing.
Processing ./lbzip2/cve2.bz2.bad
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing.
Processing ./lbzip2/overrun.bz2.bad
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing.
Processing ./lbzip2/void.bz2.bad
Trying to decompress...
Trying to decompress (small)...
Processing ./lbzip2/crc1.bz2.bad
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing.
Processing ./lbzip2/crc2.bz2.bad
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing.
Processing ./lbzip2/overrun2.bz2.bad
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing.
Correctly found all bad file data integrity errors.
Hey @Mark, Thanks for provide these tests (https:/ /sourceware. org/git/ ?p=bzip2- tests.git; a=summary). I ran our internal regression tests on the version patched and also the tests you provided. Our tests passed, but yours fails (believe is the same you mentioned in Debian-bug).
See bellow:
!!! 1 .bz files did not decompressed/ recompressed correctly.
Testing detection of bad input data...
Processing ./go/compress/ fail-issue5747. bz2.bad
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing. cve.bz2. bad
Processing ./lbzip2/
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing. cve2.bz2. bad
Processing ./lbzip2/
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing. overrun. bz2.bad
Processing ./lbzip2/
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing. void.bz2. bad crc1.bz2. bad
Processing ./lbzip2/
Trying to decompress...
Trying to decompress (small)...
Processing ./lbzip2/
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing. crc2.bz2. bad
Processing ./lbzip2/
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing. overrun2. bz2.bad
Processing ./lbzip2/
Trying to decompress...
bzip2: Data integrity error when decompressing.
Trying to decompress (small)...
bzip2: Data integrity error when decompressing.
Correctly found all bad file data integrity errors.
Bad results, look for !!! in the logs above