Commit graph

4 commits

Author SHA1 Message Date
trvon
f5e29366bf
fix(compression): check stored zstd sizes against the frame before allocating
decompress() trusted a caller-provided expected size (from the stored
block header, which has no checksum of its own) and allocated that many
bytes, up to 16 GB, before decoding. A corrupt size field could therefore
drive a huge allocation.

When the frame records its content size, the expected size must match
it. When it does not (streaming compressor output), decode incrementally
so the buffer grows with the real output and fail once it passes the
expected size.
2026-09-23 18:05:05 -06:00
trvon
b912ea0b83
compression bug fix 2026-01-03 22:38:28 -05:00
trvon
aacd7af41f
running linter 2025-12-13 16:27:07 -05:00
trevon
708d9076b8
continued test migration, updating symbol extraction plugin to address plug, search improvements 2025-12-12 15:23:44 -05:00