]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Issue #748: Zip decompression failure with highly-compressed data
authorTim Kientzle <kientzle@acm.org>
Mon, 22 Aug 2016 00:01:54 +0000 (17:01 -0700)
committerTim Kientzle <kientzle@acm.org>
Mon, 22 Aug 2016 00:04:49 +0000 (17:04 -0700)
commitda3b3c19d02591161bf53cbe4e520dde14557247
tree0e678ced45cc959eaa48d5cd4eb4e16d2940f03f
parente37b620fe8f14535d737e89a4dcabaed4517bf1a
Issue #748: Zip decompression failure with highly-compressed data

Previously, we stopped driving the decompressor as soon as
we hit end of input, but in some cases, the decompressor
has internal state that can continue generating output
even when there is no more input.  So we now feed zero-length
blocks into the decompressor until the decompressor tells us
it is finished.
libarchive/archive_read_support_format_zip.c