From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Marcelo Tosatti <marcelo@hera.kernel.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.4.21 zlib merge #2 return
Date: Sat, 14 Jun 2003 15:48:11 +0200 [thread overview]
Message-ID: <20030614134811.GE15099@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <20030614134708.GD15099@wohnheim.fh-wedel.de>
Fix one return code in huft_build.
Jörn
--
Those who come seeking peace without a treaty are plotting.
-- Sun Tzu
--- linux-2.4.20/lib/zlib_inflate/inftrees.c~zlib_merge_return 2002-11-29 00:53:15.000000000 +0100
+++ linux-2.4.20/lib/zlib_inflate/inftrees.c 2003-06-10 17:00:25.000000000 +0200
@@ -228,7 +228,7 @@
/* allocate new table */
if (*hn + z > MANY) /* (note: doesn't matter for fixed) */
- return Z_MEM_ERROR; /* not enough memory */
+ return Z_DATA_ERROR; /* overflow of MANY */
u[h] = q = hp + *hn;
*hn += z;
next prev parent reply other threads:[~2003-06-14 13:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-14 13:47 [PATCH] 2.4.21 zlib merge #1 turboc Jörn Engel
2003-06-14 13:48 ` Jörn Engel [this message]
2003-06-14 13:49 ` [PATCH] 2.4.21 zlib merge #3 inffast Jörn Engel
2003-06-14 13:50 ` [PATCH] 2.4.21 zlib merge #4 windowBits Jörn Engel
2003-06-14 13:51 ` [PATCH] 2.4.21 zlib changes #1 memlevel Jörn Engel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030614134811.GE15099@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@hera.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).