]> git.ipfire.org Git - thirdparty/zstd.git/commit
fixed regression test assert
authorYann Collet <cyan@fb.com>
Tue, 28 Dec 2021 17:55:31 +0000 (09:55 -0800)
committerYann Collet <cyan@fb.com>
Tue, 28 Dec 2021 17:55:31 +0000 (09:55 -0800)
commit435f5a2e6d7aa8f0ad581c2da688f8a7f1e3e8cd
treed63bc6d634afe3c051bad8ab7eba2eff015c7a29
parent2068889146a8c41947bd57b41c639b9f5ab1b73c
fixed regression test assert

optLdm->offset might be == 0 in invalid case.
Only use STORE_OFFSET() after validating it's a correct case.
lib/compress/zstd_compress_internal.h
lib/compress/zstd_ldm.c
lib/compress/zstd_opt.c
tests/fuzz/.gitignore