Skip to content

Stack overflow when parsing deeply nested map #307

@ghost

Description

Reproduction:

fn main() {
    let _: Result<ron::Value, _> = ron::from_str(&"{".repeat(10_000));
}

Found by fuzzing, I'll make a distinct PR to add the fuzzer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions