mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 05:11:46 +00:00
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>
This commit is contained in:
parent
7974b1cc78
commit
c231c7db30
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ static int huft_build(
|
||||||
{
|
{
|
||||||
*t = NULL;
|
*t = NULL;
|
||||||
*m = 0;
|
*m = 0;
|
||||||
return Z_DATA_ERROR;
|
return Z_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue