From 0a3379cbad84df4f9bb6f15ab1ec4ce9d8878a7b Mon Sep 17 00:00:00 2001 From: Ganlin Zhao Date: Sun, 26 Sep 2021 16:39:41 +0800 Subject: [PATCH] [TD-10445]: change cJSON numberstring buffer to 64 bytes to accomadates more digits. --- deps/cJson/inc/cJSON.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/cJson/inc/cJSON.h b/deps/cJson/inc/cJSON.h index 6b9faac033..f25aaa11b1 100644 --- a/deps/cJson/inc/cJSON.h +++ b/deps/cJson/inc/cJSON.h @@ -73,7 +73,7 @@ typedef struct cJSON char *string; //Keep the original string of number - char numberstring[22]; /* change this to 22 bytes to accommodate LLONG_MAX and LLONG_MINX*/ + char numberstring[64]; } cJSON; typedef struct cJSON_Hooks -- GitLab