Skip to content

Prevent parsing overly deep Node values#442

Merged
mtdowling merged 1 commit intomasterfrom
prevent-too-deep-parsing
May 26, 2020
Merged

Prevent parsing overly deep Node values#442
mtdowling merged 1 commit intomasterfrom
prevent-too-deep-parsing

Conversation

@mtdowling
Copy link
Copy Markdown
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