zstd/lib/decompress
Nick Terrell b1ec94e63c Fix ZSTD_f_zstd1_magicless for small data
* Fix `ZSTD_FRAMEHEADERSIZE_PREFIX` and `ZSTD_FRAMEHEADERSIZE_MIN` to
  take a `format` parameter, so it is impossible to get the wrong size.
* Fix the places that called `ZSTD_FRAMEHEADERSIZE_PREFIX` without
  taking the format into account, which is now impossible by design.
* Call `ZSTD_frameHeaderSize_internal()` with `dctx->format`.
* The added tests catch both bugs in `ZSTD_decompressFrame()`.

Fixes #1813.
2019-10-21 21:16:17 -07:00
..
huf_decompress.c Tweaks to create a single-file decoder 2019-08-21 17:49:17 +02:00
zstd_ddict.c Rename FORWARD_ERROR -> FORWARD_IF_ERROR 2019-01-29 12:56:07 -05:00
zstd_ddict.h added comment on public ddict functions 2018-10-24 16:50:03 -07:00
zstd_decompress_block.c Pass iend into ZSTD_storeSeq() to allow ZSTD_wildcopy() 2019-09-20 00:56:20 -07:00
zstd_decompress_block.h added a few comments for clarifications 2018-10-26 15:21:52 -07:00
zstd_decompress_internal.h [libzstd] Switch dictUses to an enum 2019-04-10 16:50:35 -07:00
zstd_decompress.c Fix ZSTD_f_zstd1_magicless for small data 2019-10-21 21:16:17 -07:00