Skip to content

Address assertion failed: self.scope_stack.len() > 0, revealed by oss-fuzz testing #24

@richkadel

Description

@richkadel

Some malformed documents can cause the parser to fail an assertion. This should be caught and produce a parser error, showing the syntax error in the JSON5 document. See for example:

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42395

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions