From 7a6955760ba950eb82f57929f8f6c9847c65f0af Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:23:45 -0700 Subject: zlib 1.2.1.2 --- inflate.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inflate.c') diff --git a/inflate.c b/inflate.c index a53b5c7..06ca1de 100644 --- a/inflate.c +++ b/inflate.c @@ -861,6 +861,9 @@ int flush; } } + /* handle error breaks in while */ + if (state->mode == BAD) break; + /* build code tables */ state->next = state->codes; state->lencode = (code const FAR *)(state->next); -- cgit v1.2.3-55-g6feb