Skip to content

Reader segfaults while parsing a huge array #56

@0xbb

Description

@0xbb

Hi! I was testing a library using jsoncpp and I encountered that using a crafted JSON file can lead to a segfault in the JSON Reader.
I used the following command to generate a huge nested array (valid JSON) that causes jstontestrunner_exe to crash:

 python -c "i=99999; print '['*i + '666' + ']'*i" > out.json;

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