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

Prevent parsing overly deep Node values #442

Merged
merged 1 commit into from
May 26, 2020
Merged

Conversation

mtdowling
Copy link
Member

This commit updates the IDL parser to detect overly nested Node values
and throw a syntax exception when the stack gets too deep. This prevents
stack overflows and guards against a pathological case.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This commit updates the IDL parser to detect overly nested Node values
and throw a syntax exception when the stack gets too deep. This prevents
stack overflows and guards against a pathalogical case.
@mtdowling mtdowling merged commit ec9ec0a into master May 26, 2020
@mtdowling mtdowling deleted the prevent-too-deep-parsing branch May 29, 2020 16:52
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