File tree Expand file tree Collapse file tree 6 files changed +19
-4
lines changed
Expand file tree Collapse file tree 6 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 1+ 1.7.19 (Sep 9, 2025)
2+ ======
3+ Fixes:
4+ ------
5+ * Fix indentation (should use spaces), see #814
6+ * Fix spelling errors found by CodeSpell, see #841
7+ * Check for NULL in cJSON_DetachItemViaPointer, fixes #882 , see #886
8+ * Fix #881 , check overlap before calling strcpy in cJSON_SetValuestring, see #885
9+ * Fix #880 Max recursion depth for cJSON_Duplicate to prevent stack exhaustion, see #888
10+ * Allocate memory for the temporary buffer when paring numbers, see #939
11+ * fix the incorrect check in decode_array_index_from_pointer, see #957
12+
1131.7.18 (May 13, 2024)
214======
315Fixes:
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ set(CMAKE_LEGACY_CYGWIN_WIN32 0)
22cmake_minimum_required (VERSION 3.0)
33
44project (cJSON
5- VERSION 1.7.18
5+ VERSION 1.7.19
66 LANGUAGES C)
77
88cmake_policy (SET CMP0054 NEW) # set CMP0054 policy
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ Contributors:
2424* [ Debora Grosse] ( https://github.com/DeboraG )
2525* [ dieyushi] ( https://github.com/dieyushi )
2626* [ Dōngwén Huáng (黄东文)] ( https://github.com/DongwenHuang )
27+ * [ Dominik] ( https://github.com/DL6ER )
2728* [ Donough Liu] ( https://github.com/ldm0 )
2829* [ Erez Oxman] ( https://github.com/erez-o )
2930* Eswar Yaganti
@@ -80,6 +81,8 @@ Contributors:
8081* [ Stephan Gatzka] ( https://github.com/gatzka )
8182* [ Tony Langhammer] ( https://github.com/BigBrainAFK )
8283* [ Vemake] ( https://github.com/vemakereporter )
84+ * [ vwvw] ( https://github.com/vwvw )
85+ * [ warmsocks] ( https://github.com/warmsocks )
8386* [ Wei Tan] ( https://github.com/tan-wei )
8487* [ Weston Schmidt] ( https://github.com/schmidtw )
8588* [ xiaomianhehe] ( https://github.com/xiaomianhehe )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ CJSON_TEST_SRC = cJSON.c test.c
88
99LDLIBS = -lm
1010
11- LIBVERSION = 1.7.18
11+ LIBVERSION = 1.7.19
1212CJSON_SOVERSION = 1
1313UTILS_SOVERSION = 1
1414
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ CJSON_PUBLIC(double) cJSON_GetNumberValue(const cJSON * const item)
117117}
118118
119119/* This is a safeguard to prevent copy-pasters from using incompatible C and header files */
120- #if (CJSON_VERSION_MAJOR != 1 ) || (CJSON_VERSION_MINOR != 7 ) || (CJSON_VERSION_PATCH != 18 )
120+ #if (CJSON_VERSION_MAJOR != 1 ) || (CJSON_VERSION_MINOR != 7 ) || (CJSON_VERSION_PATCH != 19 )
121121 #error cJSON.h and cJSON.c have different versions. Make sure that both have the same.
122122#endif
123123
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ then using the CJSON_API_VISIBILITY flag to "export" the same symbols the way CJ
8181/* project version */
8282#define CJSON_VERSION_MAJOR 1
8383#define CJSON_VERSION_MINOR 7
84- #define CJSON_VERSION_PATCH 18
84+ #define CJSON_VERSION_PATCH 19
8585
8686#include <stddef.h>
8787
You can’t perform that action at this time.
0 commit comments