Update cJSON to version 1.7.18 / rev 7 via SR 1178793
https://build.opensuse.org/request/show/1178793
by user dirkmueller + anag+factory
- unconditionally apply the revert NULL pointer test
- update to 1.7.18:
* CVE-2024-31755: NULL pointer dereference via
cJSON_SetValuestring() (boo#1223420)
* Remove non-functional list handling of compiler flags
* Fix heap buffer overflow
* remove misused optimization flag -01
* Set free'd pointers to NULL whenever they are not reassigned
immediately after
- revert tests for NULL pointers that fail on Leap 15.5
cJSON-1.7.18-misc_tests.patch