Skip to content

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

Merged
anonrig merged 1 commit into
nodejs:mainfrom
Eusgor:fix/open-token-overflow
Nov 20, 2026
Merged

anonrig merged 1 commit into
nodejs:mainfrom
Eusgor:fix/open-token-overflow

Conversation

@Eusgor

@Eusgor Eusgor commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

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>
@anonrig
anonrig merged commit 51c735f into nodejs:main Nov 20, 2026
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