zlib 1.3.1

This commit is contained in:
Oleksandr Byelkin 2024-04-26 13:18:51 +02:00
commit 5aff13b65c
72 changed files with 4092 additions and 433 deletions

View file

@ -1387,7 +1387,7 @@ int ZEXPORT inflateSync(z_streamp strm) {
/* if first time, start search in bit buffer */
if (state->mode != SYNC) {
state->mode = SYNC;
state->hold <<= state->bits & 7;
state->hold >>= state->bits & 7;
state->bits -= state->bits & 7;
len = 0;
while (state->bits >= 8) {