Skip to content

fix: reject open-token nesting past the fixed stack - #60

Open
Eusgor wants to merge 1 commit into
nodejs:mainfrom
Eusgor:fix/open-token-overflow
Open

Eusgor wants to merge 1 commit into
nodejs:mainfrom
Eusgor:fix/open-token-overflow

Conversation

@Eusgor

@Eusgor Eusgor commented Oct 20, 2026

Copy link
Copy Markdown

Parentheses and braces were written into fixed-size stacks without checking STACK_DEPTH, so a deep nest overflowed the lexer object.

Parentheses and braces were written into fixed-size stacks without
checking STACK_DEPTH, so a deep nest overflowed the lexer object.

Signed-off-by: Evgeniy Gorbanyov <esgor@altlinux.org>
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