]> git.ipfire.org Git - thirdparty/zstd.git/commit
fixed context downsize with initStatic
authorYann Collet <cyan@fb.com>
Tue, 12 May 2020 01:16:38 +0000 (18:16 -0700)
committerYann Collet <cyan@fb.com>
Tue, 12 May 2020 01:16:38 +0000 (18:16 -0700)
commit608f1bfc4cf4eb92470cb8c31373effd511d0db9
treed886870ab2f2471e957a79a0c2131025c2382831
parent58227db4054aaea1e048171941b12d30934e303b
fixed context downsize with initStatic

When context is created using initStatic,
no resize is possible.

fix : only bump oversizeDuration when !initStatic
lib/compress/zstd_compress.c
tests/fuzzer.c