X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/751bf8f34990bffd08aa4945072c6ee07cbd6bd9..82a16d7e5e5c83e95a4caa7314de2dbfbd1debdc:/src/zlib/infback.c?ds=inline 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);