X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51dbdf871051cbd602ef181405caf77203cc6252..2d0c2e79c27e46a238cf44562fb98c99e65d79b4:/src/zlib/inflate.c diff --git a/src/zlib/inflate.c b/src/zlib/inflate.c index a53b5c7446..be67fd6920 100644 --- a/src/zlib/inflate.c +++ b/src/zlib/inflate.c @@ -861,6 +861,9 @@ int flush; } } + if (state->mode == BAD) + break; + /* build code tables */ state->next = state->codes; state->lencode = (code const FAR *)(state->next);