From dcdd7970c32e380f850172d84335e45a41b37de8 Mon Sep 17 00:00:00 2001 From: kientzle Date: Sun, 24 Apr 2005 17:11:32 +0000 Subject: ZLib 1.2.2 --- lib/libz/infback.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libz/infback.c') diff --git a/lib/libz/infback.c b/lib/libz/infback.c index 110b03b..262f97c7 100644 --- a/lib/libz/infback.c +++ b/lib/libz/infback.c @@ -434,6 +434,9 @@ void FAR *out_desc; } } + /* 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.1