Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 76be8fc

Browse files
committed
Release 1.7.18
1 parent 5b502cd commit 76be8fc

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

‎CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
1.7.18 (May 13, 2024)
2+
======
3+
Fixes:
4+
------
5+
* Add NULL check to cJSON_SetValuestring()(CVE-2024-31755), see #839 and #840
6+
* Remove non-functional list handling of compiler flags, see #851
7+
* Fix heap buffer overflow, see #852
8+
* remove misused optimization flag -01, see #854
9+
* Set free'd pointers to NULL whenever they are not reassigned immediately after, see #855 and #833
10+
111
1.7.17 (Dec 26, 2023)
212
======
313
Fixes:

‎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.17
5+
VERSION 1.7.18
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.17
11+
LIBVERSION = 1.7.18
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 != 17)
120+
#if (CJSON_VERSION_MAJOR != 1) || (CJSON_VERSION_MINOR != 7) || (CJSON_VERSION_PATCH != 18)
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 17
84+
#define CJSON_VERSION_PATCH 18
8585

8686
#include <stddef.h>
8787

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /