Releases: DaveGamble/cJSON
Releases · DaveGamble/cJSON
1.5.9
1.5.8
1.5.7
Fixes:
- Fix a bug where realloc failing would return a pointer to an invalid memory address. This is a security issue as it could potentially be used by an attacker to write to arbitrary memory addresses. (see #189), fixed in (954d61e), big thanks @timothyjohncarney for reporting this issue
- Fix a spelling mistake in the AFL fuzzer dictionary (#185), thanks @jwilk
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
Fixes:
- Add gcc version guard to the Makefile (#164), thanks @juvasquezg
- Fix incorrect free in
cJSON_Utils
if custom memory allocator is used (#166), thanks @prefetchnta
1.5.0
Features:
- cJSON finally prints numbers without losing precision (#153) thanks @DeboraG
cJSON_Compare
recursively checks if two cJSON items contain the same values (#148)- Provide case sensitive versions of every function where it matters (#158, #159)
- Added
cJSON_ReplaceItemViaPointer
andcJSON_DetachItemViaPointer
- Added
cJSON_free
andcJSON_malloc
that expose the internal configured memory allocators. (02a05ee)
Enhancements:
- Parse into a buffer, this will allow parsing
\u0000
in the future (not quite yet though) - General simplifications and readability improvements
- More unit tests
- Update unity testing library to 2.4.1
- Add the json-patch-tests test suite to test cJSON_Utils.
- Move all tests from
test_utils.c
to unit tests with unity.
Fixes:
- Fix some warnings with the Microsoft compiler (#139) thanks @PawelWMS
- Fix several bugs in cJSON_Utils, mostly found with json-patch-tests
- Prevent a stack overflow by specifying a maximum nesting depth
CJSON_NESTING_LIMIT