File tree 5 files changed +11
-4
lines changed
5 files changed +11
-4
lines changed Original file line number Diff line number Diff line change
1
+ 1.7.17 (Dec 26, 2023)
2
+ ======
3
+ Fixes:
4
+ ------
5
+ * Fix null reference in cJSON_SetValuestring(CVE-2023 -50472), see #809
6
+ * Fix null reference in cJSON_InsertItemInArray(CVE-2023 -50471), see #809 and #810
7
+
1
8
1.7.16 (Jul 5, 2023)
2
9
======
3
10
Features:
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ set(CMAKE_LEGACY_CYGWIN_WIN32 0)
2
2
cmake_minimum_required (VERSION 3.0)
3
3
4
4
project (cJSON
5
- VERSION 1.7.16
5
+ VERSION 1.7.17
6
6
LANGUAGES C)
7
7
8
8
cmake_policy (SET CMP0054 NEW) # set CMP0054 policy
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ CJSON_TEST_SRC = cJSON.c test.c
8
8
9
9
LDLIBS = -lm
10
10
11
- LIBVERSION = 1.7.16
11
+ LIBVERSION = 1.7.17
12
12
CJSON_SOVERSION = 1
13
13
UTILS_SOVERSION = 1
14
14
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ CJSON_PUBLIC(double) cJSON_GetNumberValue(const cJSON * const item)
117
117
}
118
118
119
119
/* 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 != 16 )
120
+ #if (CJSON_VERSION_MAJOR != 1 ) || (CJSON_VERSION_MINOR != 7 ) || (CJSON_VERSION_PATCH != 17 )
121
121
#error cJSON.h and cJSON.c have different versions. Make sure that both have the same.
122
122
#endif
123
123
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
81
81
/* project version */
82
82
#define CJSON_VERSION_MAJOR 1
83
83
#define CJSON_VERSION_MINOR 7
84
- #define CJSON_VERSION_PATCH 16
84
+ #define CJSON_VERSION_PATCH 17
85
85
86
86
#include <stddef.h>
87
87
You can’t perform that action at this time.
0 commit comments