zig/lib/std/compress
dweiller 138a35df8f zstandard: fix division by zero when using RingBuffer
This change fixes some division-by-zero bugs introduced by the optimized
ring buffer read/write functions in d8c067966.

There are edge cases where decompression can use a length zero ring
buffer as the size of the ring buffer used is exactly the the window
size specified by a Zstandard frame, and this can be zero. Switching
away from loops to mem copies means that we need to ensure ring buffers
do not have length zero ring when attempting to read/write from them.
2023-11-10 15:18:16 -05:00
..
deflate x86_64: fix cond_br 2023-10-27 03:33:49 -04:00
lzma std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
lzma2 std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
testdata std.compress: add zstandard decompressor 2023-02-20 09:09:05 +11:00
xz std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
zstandard zstandard: fix division by zero when using RingBuffer 2023-11-10 15:18:16 -05:00
deflate.zig std: update to use @memcpy directly 2023-04-28 13:24:43 -07:00
gzip.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
lzma.zig update codebase to use @memset and @memcpy 2023-04-28 13:24:43 -07:00
lzma2.zig Delete redundant lzma/lzma2 prefix in function/struct names 2023-02-05 06:52:28 -08:00
xz.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
zlib.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
zstandard.zig zstandard: fix division by zero when using RingBuffer 2023-11-10 15:18:16 -05:00