Bring in fix from gzip 1.3.3 to avoid crashes when processing certain
authorDavid Rhodus <drhodus@dragonflybsd.org>
Tue, 14 Sep 2004 00:03:32 +0000 (00:03 +0000)
committerDavid Rhodus <drhodus@dragonflybsd.org>
Tue, 14 Sep 2004 00:03:32 +0000 (00:03 +0000)
commitd3d3584112a526b9da4fb68aa5938832a0a90bca
tree4945e85072e90059b5a525cf1244e9291d03ab1d
parent3100cda621a12d34d50f59f71986ed6288c6017a
Bring in fix from gzip 1.3.3 to avoid crashes when processing certain
corrupt input files:

1999-06-25  Paul Eggert  <eggert@twinsun.com>

        * inflate.c (huft_build):
        Set n to length of v, to detect improper tables.
        Don't accidentally grow j past z.

Merged from fbsd.
gnu/usr.bin/gzip/inflate.c