gunzip: fix from gzip-1.3.12 for gzip file with all zero length codes
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 3 Feb 2018 23:15:29 +0000 (00:15 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 3 Feb 2018 23:15:29 +0000 (00:15 +0100)
commit2598915d43d7403e72d312ac426e585499e94173
treecb1e0e0decc6872e42081274647c8ec8786f8155
parent0e60a36c929e57e47d5de8e1ac0e53d4ec185a70
gunzip: fix from gzip-1.3.12 for gzip file with all zero length codes

Corresponding changelog from gzip-1.3.12 reads:

"""
2006-12-20  Paul Eggert  <eggert@cs.ucla.edu>
        * inflate.c (huft_build): Fix regression that caused gzip to
        refuse to uncompress null input (all zero length codes).  Problem
        reported by Yiorgos Adamopoulos.  This regression was caused by
        the security patch installed 2006-11-20, which in turn came from
        Debian, which in turn apparently came from Thomas Biege of SuSe.
"""

function                                             old     new   delta
huft_build                                          1176    1216     +40

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/libarchive/decompress_gunzip.c