Skip to content

fix: Reject overflowing length prefixes - #2439

Merged
dcodeIO merged 1 commit into
masterfrom
patch/decode-length-overflow
Oct 11, 2026
Merged

dcodeIO merged 1 commit into
masterfrom
patch/decode-length-overflow

Conversation

@dcodeIO

@dcodeIO dcodeIO commented Oct 3, 2026

Copy link
Copy Markdown
Member

Adds Reader#size() for reading length prefixes, rejecting overflowing or overlong lengths.

Fixes four upcoming binary conformance cases.

@dcodeIO
dcodeIO merged commit 507c5d0 into master Oct 11, 2026
5 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 11, 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