]> git.cworth.org Git - gzip/commit
Avoid creating an undersized buffer for the hufts table. master
authorThiemo Nagel <thiemo.nagel@ph.tum.de>
Sat, 29 Nov 2008 15:06:59 +0000 (16:06 +0100)
committerCarl Worth <cworth@cworth.org>
Fri, 27 Feb 2009 21:43:07 +0000 (13:43 -0800)
commit91ce7f143f4e5b51f809b4d4dbb1eba030843726
tree4d8a91a64bc2c179ca2adb1ea45c945d8a423370
parent80351b321c1ee7853366b158d38225efbde25ac6
Avoid creating an undersized buffer for the hufts table.

A specific malformed input file (cf. attachment) either leads to gzip
crashing with segmentation violation or hanging in an endless loop.

Attached patch fixes the problem.
debian/changelog
inflate.c