1
0
mirror of https://github.com/facebook/zstd.git synced 2025-11-30 11:21:33 +03:00
Files
zstd/tests/fuzzer.c
Nick Terrell 86b8134cad [libzstd] Fix parameter selection for empty input
ZSTD_compress() and friends would treat an empty input as an unknown size
when selecting parameters. Thus, they would drastically overallocate the
context. Tell ZSTD_getParams() that the source size is 1 when it is empty.
2017-10-25 17:24:15 -07:00

75 KiB