Skip to content

Commit

Permalink
feat: protect the parser against stack overflows
Browse files Browse the repository at this point in the history
As the parser uses recursive functions while producing the AST, we must limit the depth of the AST tree to some reasonable amount in order to avoid stack overflows.
  • Loading branch information
plusvic committed Sep 26, 2024
1 parent c39ac00 commit ba2059d
Showing 1 changed file with 103 additions and 70 deletions.
Loading

0 comments on commit ba2059d

Please sign in to comment.