aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2025-04-09 23:35:16 -0700
committerMark Adler <git@madler.net>2025-12-06 17:39:44 -0800
commit95278e4ef9de87294dea0c94184bd8fe4316c3a9 (patch)
treecea18c4601b460ef7ed5e63910e9cd2ae7c518ce /test
parent1ab1026a20282383d9cd2282f81461655bea4028 (diff)
downloadzlib-95278e4ef9de87294dea0c94184bd8fe4316c3a9.tar.gz
zlib-95278e4ef9de87294dea0c94184bd8fe4316c3a9.tar.bz2
zlib-95278e4ef9de87294dea0c94184bd8fe4316c3a9.zip
Improve the discrimination between trailing garbage and bad gzip.
This proceeds to try to decode whatever follows the last gzip member, and concludes that it is acceptable trailing garbage only if it results in a data error without decompressing any data. This commit also reduces the probability of a false-positive gzip header detection.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions