From a682cf2485ce48a44667de699465ac78622f50e8 Mon Sep 17 00:00:00 2001 From: liuyuxiu <1175395694@qq.com> Date: Tue, 10 Jun 2025 15:39:04 +0800 Subject: [PATCH] bugfix Signed-off-by: liuyuxiu <1175395694@qq.com> --- cJSON.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cJSON.c b/cJSON.c index d8ce5df..f258360 100644 --- a/cJSON.c +++ b/cJSON.c @@ -378,7 +378,6 @@ loop_end: } } } - number_c_string[i] = '\0'; number = strtod((const char*)number_c_string, (char**)&after_end); if (number_c_string == after_end)