Fix inflateBack to detect invalid input with distances too far.

This commit is contained in:
Mark Adler 2022-06-27 12:15:36 -07:00
parent 7ecf7c7458
commit 2333419cd7

View File

@ -66,6 +66,7 @@ int stream_size;
state->window = window;
state->wnext = 0;
state->whave = 0;
state->sane = 1;
return Z_OK;
}