diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-10-16 01:02:54 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-10-16 01:03:45 -0700 |
commit | 79f88bd1e54d6042fbe50c212f836920fa208e56 (patch) | |
tree | e4e25411e571e770675dfb86f7646589eaa47d60 /NEWS | |
parent | 5d0ae40d0767f0783e796813f6099ae0168f6dd4 (diff) | |
download | gzip-79f88bd1e54d6042fbe50c212f836920fa208e56.tar.gz |
gzip: fix bug in unpack EOB check
Problem reported by Vidar Holen (Bug#28861).
* NEWS: Mention fix.
* tests/unpack-valid: New test.
* tests/Makefile.am (TESTS): Add it.
* unpack.c (build_tree): Report an error if Huffman tree has
too few leaves.
* unpack.c (unpack): Fix check for EOB.
Remove now-unnecessary check for code out of range.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -4,6 +4,9 @@ GNU gzip NEWS -*- outline -*- ** Bug fixes + When decompressing data in 'pack' format, gzip no longer mishandles + leading zeros in the end-of-block code. [bug introduced in gzip-1.6] + When converting timestamps to gzip file format (32-bit unsigned) or to time_t format (system-dependent), gzip now ignores out-of-range values instead of shoehorning them into the destination format, |