File tree 5 files changed +14
-4
lines changed
5 files changed +14
-4
lines changed Original file line number Diff line number Diff line change
1
+ 1.7.15 (Aug 25, 2021)
2
+ ======
3
+ Fixes:
4
+ ------
5
+ * Fix potential core dumped for strrchr, see [ #546 ] ( https://github.com/DaveGamble/cJSON/pull/546 )
6
+ * Fix null pointer crash in cJSON_CreateXxArray, see [ #538 ] ( https://github.com/DaveGamble/cJSON/pull/538 )
7
+ * Fix several null pointer problems on allocation failure, see [ #526 ] ( https://github.com/DaveGamble/cJSON/pull/526 )
8
+ * Fix a possible dereference of null pointer, see [ #519 ] ( https://github.com/DaveGamble/cJSON/pull/519 )
9
+ * Fix windows build failure about defining nan, see [ #518 ] ( https://github.com/DaveGamble/cJSON/pull/518 )
10
+
1
11
1.7.14 (Sep 3, 2020)
2
12
======
3
13
Fixes:
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ include(GNUInstallDirs)
7
7
8
8
set (PROJECT_VERSION_MAJOR 1)
9
9
set (PROJECT_VERSION_MINOR 7)
10
- set (PROJECT_VERSION_PATCH 14 )
10
+ set (PROJECT_VERSION_PATCH 15 )
11
11
set (CJSON_VERSION_SO 1)
12
12
set (CJSON_UTILS_VERSION_SO 1)
13
13
set (PROJECT_VERSION "${PROJECT_VERSION_MAJOR} .${PROJECT_VERSION_MINOR} .${PROJECT_VERSION_PATCH} " )
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.14
11
+ LIBVERSION = 1.7.15
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 != 14 )
120
+ #if (CJSON_VERSION_MAJOR != 1 ) || (CJSON_VERSION_MINOR != 7 ) || (CJSON_VERSION_PATCH != 15 )
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 14
84
+ #define CJSON_VERSION_PATCH 15
85
85
86
86
#include <stddef.h>
87
87
You can’t perform that action at this time.
0 commit comments