Revert unnecessary zlib_inflate/inftrees.c fix
commitc231c7db30faf93419fc22d680f74d816bea70e2
authorLinus Torvalds <torvalds@g5.osdl.org>
Wed, 17 Aug 2005 20:07:28 +0000 (17 13:07 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 17 Aug 2005 20:07:28 +0000 (17 13:07 -0700)
tree8a25999cb4b8c33841bd1969e3054c13bda3b394
parent7974b1cc7879141962999e78a6fc9a136dc4479e
Revert unnecessary zlib_inflate/inftrees.c fix

It turns out that empty distance code tables are not an error, and that
a compressed block with only literals can validly have an empty table
and should not be flagged as a data error.

Some old versions of gzip had problems with this case, but it does not
affect the zlib code in the kernel.

Analysis and explanations thanks to Sergey Vlasov <vsu@altlinux.ru>

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
lib/zlib_inflate/inftrees.c