0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/compress
Ryan Liptak e61d804142 flate.Decompress: Fix potential infinite loop when using limits
Previously, the code relied on being able to write an entire match at once. When combined with limited streaming, this could result in an infinite loop with e.g. streamExact.

The fix here is to support writing partial matches up to the limit, and then continue writing the rest of the match on the next stream.

Fixes https://github.com/ziglang/zig/issues/25032
History 2026-08-14 12:26:14 +02:00
..
flate flate.Decompress: Fix potential infinite loop when using limits 2026-08-14 12:26:14 +02:00
lzma std.compress.lzma: tests passing 2025-08-26 21:00:58 -07:00
xz zig fmt 2026-07-17 23:30:26 +02:00
zstd zig fmt 2026-07-17 23:30:26 +02:00
flate.zig add deflate compression, simplify decompression 2025-09-30 18:28:47 -07:00
lzma.zig std: remove default values from ArrayList 2026-03-10 10:26:08 +00:00
lzma2.zig std: remove default values from ArrayList 2026-03-10 10:26:08 +00:00
xz.zig std.compress.lzma: update for new I/O API 2025-08-26 21:00:58 -07:00
zstd.zig std: delete tests that rely on embedded copyrighted files 2026-06-10 12:43:22 -07:00