X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/751bf8f34990bffd08aa4945072c6ee07cbd6bd9..024f89f972a6787e82d77fc5e5dac302a56abbb0:/src/zlib/infback.c diff --git a/src/zlib/infback.c b/src/zlib/infback.c index 110b03b857..e9709984a8 100644 --- a/src/zlib/infback.c +++ b/src/zlib/infback.c @@ -434,6 +434,9 @@ void FAR *out_desc; } } + if (state->mode == BAD) + break; + /* build code tables */ state->next = state->codes; state->lencode = (code const FAR *)(state->next);