Skip to content

Commit 3c89356

Browse files
authored
Merge pull request #355 from DaveGamble/release-1.7.12
Release 1.7.12
2 parents 08d2bc7 + b93fd34 commit 3c89356

6 files changed

Lines changed: 16 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
1.7.12
2+
======
3+
Fixes:
4+
------
5+
* Fix infinite loop in `cJSON_Minify` (potential Denial of Service), thanks @Alanscut for reporting. See #354
6+
* Fix link error for Visual Studio. Thanks @tan-wei, see #352
7+
* Undefine `true` and `false` for `cJSON_Utils` before redefining them. Thanks @raiden00pl, see #347
8+
9+
110
1.7.11
211
======
312
Fixes:

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ include(GNUInstallDirs)
77

88
set(PROJECT_VERSION_MAJOR 1)
99
set(PROJECT_VERSION_MINOR 7)
10-
set(PROJECT_VERSION_PATCH 11)
10+
set(PROJECT_VERSION_PATCH 12)
1111
set(CJSON_VERSION_SO 1)
1212
set(CJSON_UTILS_VERSION_SO 1)
1313
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")

CONTRIBUTORS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Current Maintainer: [Max Bruckner](https://github.com/FSMaxB)
1414
* [Debora Grosse](https://github.com/DeboraG)
1515
* [dieyushi](https://github.com/dieyushi)
1616
* [Dōngwén Huáng (黄东文)](https://github.com/DongwenHuang)
17+
* [Donough Liu](https://github.com/ldm0)
1718
* Eswar Yaganti
1819
* [Evan Todd](https://github.com/etodd)
1920
* [Fabrice Fontaine](https://github.com/ffontaine)
@@ -34,12 +35,14 @@ Current Maintainer: [Max Bruckner](https://github.com/FSMaxB)
3435
* [Pawel Winogrodzki](https://github.com/PawelWMS)
3536
* [prefetchnta](https://github.com/prefetchnta)
3637
* [Rafael Leal Dias](https://github.com/rafaeldias)
38+
* [raiden00pl](https://github.com/raiden00pl)
3739
* [Robin Mallinson](https://github.com/rmallins)
3840
* [Rod Vagg](https://github.com/rvagg)
3941
* [Roland Meertens](https://github.com/rmeertens)
4042
* [Romain Porte](https://github.com/MicroJoe)
4143
* [Simon Ricaldone](https://github.com/simon-p-r)
4244
* [Stephan Gatzka](https://github.com/gatzka)
45+
* [tan-wei](https://github.com/tan-wei)
4346
* [Weston Schmidt](https://github.com/schmidtw)
4447
* [yangfl](https://github.com/yangfl)
4548
* [yuta-oxo](https://github.com/yuta-oxo)

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.11
11+
LIBVERSION = 1.7.12
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
@@ -88,7 +88,7 @@ CJSON_PUBLIC(char *) cJSON_GetStringValue(cJSON *item) {
8888
}
8989

9090
/* This is a safeguard to prevent copy-pasters from using incompatible C and header files */
91-
#if (CJSON_VERSION_MAJOR != 1) || (CJSON_VERSION_MINOR != 7) || (CJSON_VERSION_PATCH != 11)
91+
#if (CJSON_VERSION_MAJOR != 1) || (CJSON_VERSION_MINOR != 7) || (CJSON_VERSION_PATCH != 12)
9292
#error cJSON.h and cJSON.c have different versions. Make sure that both have the same.
9393
#endif
9494

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 11
84+
#define CJSON_VERSION_PATCH 12
8585

8686
#include <stddef.h>
8787

0 commit comments

Comments
 (0)