Skip to content

Extract parse_* branch arms - #4258

Merged
kddnewton merged 41 commits into
mainfrom
extract
Oct 13, 2026
Merged

kddnewton merged 41 commits into
mainfrom
extract

Conversation

@kddnewton

Copy link
Copy Markdown
Collaborator

In order to support -O0 and allow the compiler a little more latitude to decide what to inline. Also, make sure we hit depth limits on pattern matching.

Fixes #4252

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.

[Bug]Deeply nested parentheses exhaust the C stack in parse_parentheses() recursion before PRISM_DEPTH_MAXIMUM is reached (CWE-674, stack-overflow)

1 participant