]> git.ipfire.org Git - thirdparty/zstd.git/commit
fixed ZSTD_initCStream_advanced() behavior, which depends on contentSizeFlag,
authorYann Collet <cyan@fb.com>
Sat, 14 Oct 2017 02:01:58 +0000 (19:01 -0700)
committerYann Collet <cyan@fb.com>
Sat, 14 Oct 2017 02:01:58 +0000 (19:01 -0700)
commit213ef3b510b909b7dd95dc472e680ebea25bc450
tree9d0937c7bca51e2362bdfc54b142e904c70409cd
parent3c1e3f8ec90a09558bda9b860fc1cbfdd322919c
fixed ZSTD_initCStream_advanced() behavior, which depends on contentSizeFlag,

and a stream fuzzer test, which was incorrect
(relied on 0 being unconditionnally transformed into `ZSTD_CONTENTSIZE_UNKNOWN`)
lib/compress/zstd_compress.c
lib/zstd.h
tests/zstreamtest.c