Skip to content

fix: reject incomplete zlib bit-length trees - #2147

Merged
slozier merged 1 commit into
IronLanguages:mainfrom
unsafePtr:fix/incomplete-bit-length-tree
Nov 5, 2026
Merged

slozier merged 1 commit into
IronLanguages:mainfrom
unsafePtr:fix/incomplete-bit-length-tree

Conversation

@unsafePtr

Copy link
Copy Markdown
Contributor

Convert incomplete dynamic bit-length trees to a data error. The current buffer error is ignored by streaming decompression, which leaves malformed input unreported.

Add regression coverage for both decompression APIs.

@slozier slozier left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@slozier
slozier merged commit c90330b into IronLanguages:main Nov 5, 2026
35 checks passed
@slozier slozier mentioned this pull request Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants