Skip to content

Reject oversized serialized type lengths - #1

Open
samsamtrum wants to merge 1 commit into
essential-contributions:mainfrom
samsamtrum:fix-oversized-type-decodes
Open

Reject oversized serialized type lengths#1
samsamtrum wants to merge 1 commit into
essential-contributions:mainfrom
samsamtrum:fix-oversized-type-decodes

Conversation

@samsamtrum

Copy link
Copy Markdown

Reject serialized type payloads whose length prefixes cannot fit safely in memory.

This avoids accepting oversized event counts or data lengths before allocating or slicing, while keeping the existing byte format unchanged.

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