Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate counts of parsed objects before allocating memory for them. #40

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

kpreid
Copy link
Contributor

@kpreid kpreid commented Feb 17, 2023

This prevents invalid or malicious files from causing the parser to allocate more memory than could possibly be necessary to hold the contents of the file.

This prevents invalid or malicious files from causing the parser
to allocate more memory than could possibly be necessary to hold
the contents of the file.
@Neo-Zhixing Neo-Zhixing merged commit 9cebb3f into dust-engine:master Mar 7, 2023
@Neo-Zhixing
Copy link
Member

Thank you! This is helpful.

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