diff options
author | Nathan Moinvaziri <nathan@nathanm.com> | 2020-07-06 17:23:01 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2020-07-10 15:44:56 +0200 |
commit | 7241384112c35f0337fe40828e3d93705d346a8f (patch) | |
tree | d3bbea6abc376494709cbe236c889a7893fa84ac /infback.c | |
parent | 07a6e872c5f9cd979b436a031f5fb02733d9e3a1 (diff) |
Fixed chunksize not being initialized when using inflateBack.
Diffstat (limited to 'infback.c')
-rw-r--r-- | infback.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |