Skip to content

Commit d3bc571

Browse files
committed
Release Version 1.5.6
1 parent 48eaecd commit d3bc571

5 files changed

Lines changed: 10 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
1.5.6
2+
=====
3+
Fixes:
4+
------
5+
* Make cJSON a lot more tolerant about passing NULL pointers to its functions, it should now fail safely instead of dereferencing the pointer. (#183) Thanks @msichal for reporting #182
6+
17
1.5.5
28
=====
39
Fixes:

‎CMakeLists.txt‎

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

88
set(PROJECT_VERSION_MAJOR 1)
99
set(PROJECT_VERSION_MINOR 5)
10-
set(PROJECT_VERSION_PATCH 5)
10+
set(PROJECT_VERSION_PATCH 6)
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}")

‎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.5.5
11+
LIBVERSION = 1.5.6
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
@@ -58,7 +58,7 @@ CJSON_PUBLIC(const char *) cJSON_GetErrorPtr(void)
5858
}
5959

6060
/* This is a safeguard to prevent copy-pasters from using incompatible C and header files */
61-
#if (CJSON_VERSION_MAJOR != 1) || (CJSON_VERSION_MINOR != 5) || (CJSON_VERSION_PATCH != 5)
61+
#if (CJSON_VERSION_MAJOR != 1) || (CJSON_VERSION_MINOR != 5) || (CJSON_VERSION_PATCH != 6)
6262
#error cJSON.h and cJSON.c have different versions. Make sure that both have the same.
6363
#endif
6464

‎cJSON.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extern "C"
3131
/* project version */
3232
#define CJSON_VERSION_MAJOR 1
3333
#define CJSON_VERSION_MINOR 5
34-
#define CJSON_VERSION_PATCH 5
34+
#define CJSON_VERSION_PATCH 6
3535

3636
#include <stddef.h>
3737

0 commit comments

Comments
 (0)