b1ec94e63c
* 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. |
||
---|---|---|
.. | ||
huf_decompress.c | ||
zstd_ddict.c | ||
zstd_ddict.h | ||
zstd_decompress_block.c | ||
zstd_decompress_block.h | ||
zstd_decompress_internal.h | ||
zstd_decompress.c |