Fix inflateBack to detect invalid input with distances too far.

pull/688/head
Mark Adler 3 years ago
parent 7ecf7c7458
commit 2333419cd7
  1. 1
      infback.c

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

Loading…
Cancel
Save