Skip to content

Conversation

@carlisgg
Copy link

Prevent allocating upfront memory for malicious or improperly reported slice sizes by using the allocLimit config and related flags.

decoding SliceValue do not properly use the allocLimitDisabled flag.
decoding Slice should also make use of the flag to prevent allocating
huge amounts of memory upfront in case of malicious or improper size
reported.
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.

1 participant