zstd/lib/compress
Yann Collet ad4524d605 fix ZSTD_compressBlock() associated with CDict
reported by @let-def.

It's actually a bug in ZSTD_compressBegin_usingCDict()
which would pass a wrong pledgedSrcSize value (0 instead of ZSTD_CONTENTSIZE_UNKNOWN)
resulting in wrong window size, resulting in downsized seqStore,
resulting in segfault when writing into the seqStore later in the process.

Added a test in fuzzer to cover this use case (fails before the patch).
2018-05-07 12:54:13 -07:00
..
fse_compress.c removed huf_compress_impl.h 2018-03-13 14:14:05 -07:00
huf_compress.c removed huf_compress_impl.h 2018-03-13 14:14:05 -07:00
zstd_compress.c fix ZSTD_compressBlock() associated with CDict 2018-05-07 12:54:13 -07:00
zstd_compress_internal.h Only load extra table positions for CDicts 2018-04-02 14:41:30 -07:00
zstd_double_fast.c fix ZSTD_compressBlock() associated with CDict 2018-05-07 12:54:13 -07:00
zstd_double_fast.h Only load extra table positions for CDicts 2018-04-02 14:41:30 -07:00
zstd_fast.c Only load extra table positions for CDicts 2018-04-02 14:41:30 -07:00
zstd_fast.h Only load extra table positions for CDicts 2018-04-02 14:41:30 -07:00
zstd_lazy.c Split the window state into substructure 2018-02-26 13:29:57 -08:00
zstd_lazy.h Split ZSTD_CCtx into smaller sub-structures 2018-01-16 11:17:50 -08:00
zstd_ldm.c Only load extra table positions for CDicts 2018-04-02 14:41:30 -07:00
zstd_ldm.h Merge pull request #1057 from facebook/lrmSettings 2018-03-21 05:59:39 -07:00
zstd_opt.c Split the window state into substructure 2018-02-26 13:29:57 -08:00
zstd_opt.h Split ZSTD_CCtx into smaller sub-structures 2018-01-16 11:17:50 -08:00
zstdmt_compress.c Only load extra table positions for CDicts 2018-04-02 14:41:30 -07:00
zstdmt_compress.h Merge branch 'dev' into advancedDecompress 2018-03-21 06:08:28 -07:00