cJSON icon indicating copy to clipboard operation
cJSON copied to clipboard

Parsing of ASCII control characters

Open j-moeller opened this issue 1 year ago • 0 comments

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.

j-moeller avatar Jul 03 '24 07:07 j-moeller