cJSON icon indicating copy to clipboard operation
cJSON copied to clipboard

fix positive value with '+' prefix crash in parse_value()

Open hyh19962008 opened this issue 2 years ago • 1 comments

without this fix, the program will crash with the following test: assert_parse_value("+1.5", cJSON_Number);

hyh19962008 avatar Sep 12 '23 10:09 hyh19962008

Note that + is not a valid number prefix according to the JSON spec, so this PR would make it non-compliant: JSON image grammar

darkuranium avatar Sep 05 '24 20:09 darkuranium

Got it, closing this PR.

hyh19962008 avatar Sep 10 '24 06:09 hyh19962008