Update bundled cJSON from 1.7.17 -> 1.7.18 released earlier today
Changelog:
Add NULL check to cJSON_SetValuestring() (CVE-2024-31755)
Fix heap buffer overflow
Set free'd pointers to NULL whenever they are not reassigned immediately after
Related issue or feature (if applicable): N/A
Pull request in docs with documentation (if applicable): N/A
By submitting this pull request, I confirm the following:
I have read and understood the contributors guide, as well as this entire template. I understand which branch to base my commits and Pull Requests against.
I have commented my proposed changes within the code.
I am willing to help maintain this change if there are issues with it later.
What does this implement/fix?
Update bundled cJSON from 1.7.17 -> 1.7.18 released earlier today
Changelog:
NULL
check tocJSON_SetValuestring()
(CVE-2024-31755)Set free'd pointers to
NULL
whenever they are not reassigned immediately afterRelated issue or feature (if applicable): N/A
Pull request in docs with documentation (if applicable): N/A
By submitting this pull request, I confirm the following:
git rebase
)Checklist:
developmental
branch.