Skip to content

Commit 87d8f09

Browse files
committed
Release 1.7.17
update version to 1.7.17
1 parent f66cbab commit 87d8f09

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
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+
18
1.7.16 (Jul 5, 2023)
29
======
310
Features:

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ set(CMAKE_LEGACY_CYGWIN_WIN32 0)
22
cmake_minimum_required(VERSION 3.0)
33

44
project(cJSON
5-
VERSION 1.7.16
5+
VERSION 1.7.17
66
LANGUAGES C)
77

88
cmake_policy(SET CMP0054 NEW) # set CMP0054 policy

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CJSON_TEST_SRC = cJSON.c test.c
88

99
LDLIBS = -lm
1010

11-
LIBVERSION = 1.7.16
11+
LIBVERSION = 1.7.17
1212
CJSON_SOVERSION = 1
1313
UTILS_SOVERSION = 1
1414

cJSON.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 != 16)
120+
#if (CJSON_VERSION_MAJOR != 1) || (CJSON_VERSION_MINOR != 7) || (CJSON_VERSION_PATCH != 17)
121121
#error cJSON.h and cJSON.c have different versions. Make sure that both have the same.
122122
#endif
123123

cJSON.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 16
84+
#define CJSON_VERSION_PATCH 17
8585

8686
#include <stddef.h>
8787

0 commit comments

Comments
 (0)