DaveGamble / cJSON

Ultralightweight JSON parser in ANSI C
MIT License
10.68k stars 3.21k forks source link

add NULL checkings #809

Closed PeterAlfredLee closed 9 months ago

PeterAlfredLee commented 9 months ago

Add NULL checkings in cJSON_InsertItemInArray and cJSON_SetValuestring Fixing #802(CVE-2023-50471) and #803(CVE-2023-50472)

Alanscut commented 9 months ago

LGTM