From: Paul Eggert Date: Mon, 16 Oct 2017 08:02:54 +0000 (-0700) Subject: gzip: fix bug in unpack EOB check X-Git-Tag: v1.9~22 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=79f88bd1e54d6042fbe50c212f836920fa208e56;hp=79f88bd1e54d6042fbe50c212f836920fa208e56;p=debian%2Fgzip 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. ---