cJSON
[Ported from github.com/DaveGamble/cJSON] Fix: heap-use-after-free in merge_patch when patch is subtree of target (#1065)
Brought by drakestapleton
Commits on master
- Fix: heap-use-after-free in merge_patch when patch is subtree of target (#1065)
- Fix: Type Confusion vulnerability in cJSON_Utils caused by missing type check (#1006)
- fix: prevent NULL pointer dereference in cJSON_SetNumberHelper (#991)
- docs: fix outdated CMake version requirement in README (#990)
- Fix: add depth check to prevent stack overflow in cJSON_Print (#984)
- upgrade version of cmake_minimum_required (#986)
- Release 1.7.19 (#958)
- fix the incorrect check in decode_array_index_from_pointer (#957)
- bump version of actions/upload-artifact
- allocate memory for the temporary buffer
- Wrong counter increment
- Added max recusrion depth for cJSONDuplicate to prevent stack exhaustion in case of circular reference
- Free mem in cjson_set_valuestring_should_return_null_if_strings_overlap
- CJSON_SetValuestring: better test for overlapping string
- CJSON_SetValuestring: add test for overlapping string
- fix #881, check overlap before calling strcpy in cJSON_SetValuestring
- cJSON_DetachItemViaPointer: added test and fix for check for null in item->prev
- Check for NULL in cJSON_DetachItemViaPointer
- Revert "feat: add tests for #842" to fix test failures
- Fix spelling errors found by CodeSpell. See https://github.com/codespell-project/codespell
- Fix indentation (should use spaces)
- add contributors
- Release 1.7.18
- feat: add tests for #842
- Set free'd pointers to NULL whenever they are not reassigned immediately after
- fix: remove misused optimization flag -01
- Fix heap buffer overflow
- Add test for heap buffer overflow
- Remove non-functional list handling of compiler flags
- update comments and add tests for cJSON_SetValuestring