zstd/lib/decompress
Yann Collet 91aeade735 Streaming decompression can detect incorrect header ID sooner
Streaming decompression used to wait for a minimum of 5 bytes before attempting decoding.
This meant that, in the case that only a few bytes (<5) were provided,
and assuming these bytes are incorrect,
there would be no error reported.
The streaming API would simply request more data, waiting for at least 5 bytes.

This PR makes it possible to detect incorrect Frame IDs as soon as the first byte is provided.

Fix #3169
2022-06-21 23:09:03 -07:00
..
huf_decompress_amd64.S Simplify HUF_decompress4X2_usingDTable_internal_bmi2_asm_loop 2022-01-19 18:38:46 +01:00
huf_decompress.c Fix nits 2022-02-14 14:24:50 -05:00
zstd_ddict.c renamed HufLog into ZSTD_HUFFDTABLE_CAPACITY_LOG 2022-01-26 14:47:24 -08:00
zstd_ddict.h [copyright][license] Switch to yearless copyright and some cleanup in the linux-kernel files 2021-03-30 10:30:43 -07:00
zstd_decompress_block.c dec: adjust seqSymbol load on aarch64 2022-05-30 22:01:38 +08:00
zstd_decompress_block.h Reduce bit tables to 8bit 2021-12-14 23:47:57 +01:00
zstd_decompress_internal.h renamed HufLog into ZSTD_HUFFDTABLE_CAPACITY_LOG 2022-01-26 14:47:24 -08:00
zstd_decompress.c Streaming decompression can detect incorrect header ID sooner 2022-06-21 23:09:03 -07:00