Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NULL check to cJSON_SetValuestring()
If the valuestring passed to cJSON_SetValuestring is NULL, a null pointer dereference will happen. This commit adds the NULL check of valuestring before it is dereferenced.
- Loading branch information