zig/lib/std/compress
dweiller a53cf299a6 std.compress.zstandard: add error condition to ring buffer decoding
Previously `executeSequenceRingBuffer()` would not verify the offset
against the number of bytes already decoded, so it would happily copy
garbage bytes rather than return an error before the window was filled.

To fix this a new `written_count` is added to the decode state that
tracks the total number of bytes decoded.
2023-02-20 09:09:06 +11:00
..
deflate update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
lzma update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
lzma2 Implement std.io.Reader for LZMA1 2023-02-05 08:23:51 -08:00
testdata std.compress: add zstandard decompressor 2023-02-20 09:09:05 +11:00
xz Update block.zig 2023-02-05 09:18:07 -08:00
zstandard std.compress.zstandard: add error condition to ring buffer decoding 2023-02-20 09:09:06 +11:00
deflate.zig Make CompressorOptions public 2022-10-12 04:04:43 -04:00
gzip.zig support xz compressed tarballs in the package manager 2023-01-24 15:24:19 -07:00
lzma.zig Implement std.io.Reader for LZMA1 2023-02-05 08:23:51 -08:00
lzma2.zig Delete redundant lzma/lzma2 prefix in function/struct names 2023-02-05 06:52:28 -08:00
xz.zig std.compress.xz: Avoid possible integer overflow in a few places 2023-02-05 06:08:35 -08:00
zlib.zig update gitattributes and move test data into subdir 2022-12-18 16:28:30 -07:00
zstandard.zig std.compress.zstandard: fix zstandardStream finishing early 2023-02-20 09:09:06 +11:00