]> git.baikalelectronics.ru Git - kernel.git/commit
Revert unnecessary zlib_inflate/inftrees.c fix
authorLinus Torvalds <torvalds@g5.osdl.org>
Wed, 17 Aug 2005 20:07:28 +0000 (13:07 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 17 Aug 2005 20:07:28 +0000 (13:07 -0700)
commit95ca0c2d3101a8bac506c438805328e25511d9c0
tree8a25999cb4b8c33841bd1969e3054c13bda3b394
parentf1963bf3e7e8eabe510d99e717b7c44f4b7bb5ac
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