Skip to content

Parser accepts control chars 0x00 and 0x1F #2909

Closed
@torsten-schenk

Description

@torsten-schenk

In the file jv_parse.c, I cam across the following line (currently line 497):

if (c >0 && c < 0x001f) // reject character

I also tested it with an actual .json-file containing strings with unescaped character 0x00 / 0x1f, in both cases the strings got accepted.

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