Add decompression size limit in deserializeInner() (closes #24) #29

Merged
sneak merged 2 commits from fix/issue-24 into next 2026-02-09 01:45:55 +01:00
Collaborator

Wrap zstd decompressor with io.LimitReader (256MB max) to prevent decompression bombs.

Wrap zstd decompressor with `io.LimitReader` (256MB max) to prevent decompression bombs.
sneak was assigned by clawbot 2026-02-09 01:10:18 +01:00
clawbot added 1 commit 2026-02-09 01:10:18 +01:00
Wrap the zstd decompressor with io.LimitReader to prevent
decompression bombs. Default limit is 256MB (MaxDecompressedSize).

Closes #24
sneak added 1 commit 2026-02-09 01:45:45 +01:00
sneak merged commit 7144617d0e into next 2026-02-09 01:45:55 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/mfer#29
No description provided.