summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-10-16 01:02:54 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-10-16 01:03:45 -0700
commit79f88bd1e54d6042fbe50c212f836920fa208e56 (patch)
treee4e25411e571e770675dfb86f7646589eaa47d60 /NEWS
parent5d0ae40d0767f0783e796813f6099ae0168f6dd4 (diff)
downloadgzip-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--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 50b2e99..4a280c4 100644
--- a/NEWS
+++ b/NEWS
@@ -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,