Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit depth of nesting by default #287

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Commits on Apr 8, 2024

  1. Limit depth of nesting by default

    Each nesting level increases the stack and the number of previous
    starting events that the parser has to check.
    
    The default maximum is 1000 and can be set via yaml_set_max_nest_level()
    
    I also added new options to run-parser and run-parser-test-suite:
    * --max-level: you can now try out this feature on the command line
    * --show-error: By default, run-parser doesn't show errors. The new option
      helps with debugging
    perlpunk committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    51843fe View commit details
    Browse the repository at this point in the history