Skip to content

Commit c859b25

Browse files
authored
Release 1.7.19 (#958)
1 parent 74e1ff4 commit c859b25

File tree

6 files changed

+19
-4
lines changed

6 files changed

+19
-4
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
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+
113
1.7.18 (May 13, 2024)
214
======
315
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.18
5+
VERSION 1.7.19
66
LANGUAGES C)
77

88
cmake_policy(SET CMP0054 NEW) # set CMP0054 policy

CONTRIBUTORS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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)

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.18
11+
LIBVERSION = 1.7.19
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 != 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

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 18
84+
#define CJSON_VERSION_PATCH 19
8585

8686
#include <stddef.h>
8787

0 commit comments

Comments
 (0)