mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
This function was seriously flawed: * It didn't do output bounds checks * It produced invalid sequences when an uncompressed or RLE block was emitted * It produced invalid sequences when the block splitter was enabled * It produced invalid sequences when ZSTD_c_targetCBlockSize was enabled I've attempted to fix these issues, but this function is just a bad idea, so I've marked it as deprecated and unsafe. We should replace it with `ZSTD_extractSequences()` which operates on a compressed frame. |
||
|---|---|---|
| .. | ||
| clevels.h | ||
| fse_compress.c | ||
| hist.c | ||
| hist.h | ||
| huf_compress.c | ||
| zstd_compress.c | ||
| zstd_compress_internal.h | ||
| zstd_compress_literals.c | ||
| zstd_compress_literals.h | ||
| zstd_compress_sequences.c | ||
| zstd_compress_sequences.h | ||
| zstd_compress_superblock.c | ||
| zstd_compress_superblock.h | ||
| zstd_cwksp.h | ||
| zstd_double_fast.c | ||
| zstd_double_fast.h | ||
| zstd_fast.c | ||
| zstd_fast.h | ||
| zstd_lazy.c | ||
| zstd_lazy.h | ||
| zstd_ldm.c | ||
| zstd_ldm.h | ||
| zstd_ldm_geartab.h | ||
| zstd_opt.c | ||
| zstd_opt.h | ||
| zstdmt_compress.c | ||
| zstdmt_compress.h | ||