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

Parsing of ASCII control characters #871

Open
j-moeller opened this issue Jul 3, 2024 · 0 comments
Open

Parsing of ASCII control characters #871

j-moeller opened this issue Jul 3, 2024 · 0 comments

Comments

@j-moeller
Copy link

Hello,

we found some unexpected behaviour and issues in cJSON when dealing with ASCII control characters (besides the documented behaviour when dealing with '\0’ or "\u0000") and wanted to inform you about our findings:

In [1] we found that cJSON accepts control character, although according to the JSON specification, control characters should not be part of a valid JSON string. In [2], we found control characters influencing the representation of a string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant