]> git.ipfire.org Git - thirdparty/zstd.git/commit
check endDirective in ZSTD_compressStream2()
authorYann Collet <cyan@fb.com>
Mon, 14 Sep 2020 17:56:08 +0000 (10:56 -0700)
committerYann Collet <cyan@fb.com>
Mon, 14 Sep 2020 17:56:08 +0000 (10:56 -0700)
commitc91a0855f895bfbabd0d89528a38ff18545f0e03
tree5880e5a7fa4c6cd274761326014f9797518b54fa
parentd903b552c83a18cfdd7481e39fccbdb1da2a2230
check endDirective in ZSTD_compressStream2()

fix #2297
also :
- `assert()` `endDirective` in `ZSTD_compressStream_internal()`, for debug mode
- add relevant tests
lib/compress/zstd_compress.c
lib/zstd.h
tests/fuzzer.c