From 2333419cd76cb9ae5f15c9b240b16a2052b27691 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Mon, 27 Jun 2022 12:15:36 -0700 Subject: [PATCH] Fix inflateBack to detect invalid input with distances too far. --- infback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/infback.c b/infback.c index a390c58..4c712a1 100644 --- a/infback.c +++ b/infback.c @@ -66,6 +66,7 @@ int stream_size; state->window = window; state->wnext = 0; state->whave = 0; + state->sane = 1; return Z_OK; }