]> git.hungrycats.org Git - linux/commit
[PATCH] lib/inflate.c fix
authorAndrew Morton <akpm@osdl.org>
Tue, 30 Dec 2003 07:46:23 +0000 (23:46 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 30 Dec 2003 07:46:23 +0000 (23:46 -0800)
commitab49402d9f61b9a2b9c483be669e81c3f89cce8b
tree254aef5bdd07486f1f4ab0969b7f4561a927fe8b
parent0a33358cf289e024b7e67436f8539f1348aed238
[PATCH] lib/inflate.c fix

From: "H. Peter Anvin" <hpa@zytor.com>

This patch fixes the "non-terminating inflate" problem that Russell King
complained about on LKML earlier today.

I chose to use "goto" much like zlib does, in order to not require
setjmp/longjmp inside the kernel.  It's a bit ugly, but it also lets each
function chose how it needs to be terminated on error, which is a good
thing.
lib/inflate.c