zstd/lib/decompress
Nick Terrell aaea4ef924 [libzstd] Fix infinite loop in decompression
When we switched `ZSTD_SKIPPABLEHEADERSIZE` to a macro, the places where we do:

    MEM_readLE32(ptr) + ZSTD_SKIPPABLEHEADERSIZE

can now overflow `(unsigned)-8` to `0` and we infinite loop. We now check
the frame size and reject sizes that overflow a U32.

Note that this bug never made it into a release, and was only in the dev branch
for a few days.

Credit to OSS-Fuzz
2018-12-13 15:13:19 -08:00
..
huf_decompress.c reduced DDict size, by -2KB 2018-09-06 17:07:53 -07:00
zstd_ddict.c Improves decompression speed when using cold dictionary 2018-11-08 17:00:23 -08:00
zstd_ddict.h added comment on public ddict functions 2018-10-24 16:50:03 -07:00
zstd_decompress_block.c Improves decompression speed when using cold dictionary 2018-11-08 17:00:23 -08:00
zstd_decompress_block.h added a few comments for clarifications 2018-10-26 15:21:52 -07:00
zstd_decompress_internal.h created zstd_decompress_block module 2018-10-25 16:28:41 -07:00
zstd_decompress.c [libzstd] Fix infinite loop in decompression 2018-12-13 15:13:19 -08:00