This commit is contained in:
twinaphex 2020-07-03 19:05:32 +02:00
parent 9aa27010b8
commit b1d82f1b27

2
deps/libz/inflate.c vendored
View File

@ -1342,6 +1342,8 @@ int inflateSync(z_streamp strm)
/* return no joy or set up to restart inflate() on a new block */
if (state->have != 4)
return Z_DATA_ERROR;
if (state->mode == HEAD)
state->wrap = 0; /* never processed header, so assume raw */
in = strm->total_in;
out = strm->total_out;