From: Nathan Moinvaziri Date: Tue, 7 Jul 2020 00:23:01 +0000 (-0700) Subject: Fixed chunksize not being initialized when using inflateBack. X-Git-Tag: 1.9.9-b1~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7241384112c35f0337fe40828e3d93705d346a8f;p=thirdparty%2Fzlib-ng.git Fixed chunksize not being initialized when using inflateBack. --- diff --git a/infback.c b/infback.c index 2802ada2..5691c2bf 100644 --- a/infback.c +++ b/infback.c @@ -16,6 +16,7 @@ #include "inflate.h" #include "inffast.h" #include "inflate_p.h" +#include "functable.h" /* strm provides memory allocation functions in zalloc and zfree, or @@ -50,6 +51,7 @@ int32_t ZEXPORT PREFIX(inflateBackInit_)(PREFIX3(stream) *strm, int32_t windowBi state->window = window; state->wnext = 0; state->whave = 0; + state->chunksize = functable.chunksize(); return Z_OK; }