X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/751bf8f34990bffd08aa4945072c6ee07cbd6bd9..21bd196564d8483879a57c40ec1eea64114f9bd4:/src/zlib/infback.c diff --git a/src/zlib/infback.c b/src/zlib/infback.c index 110b03b857..262f97c73a 100644 --- a/src/zlib/infback.c +++ b/src/zlib/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);