static const char *parse_string(cJSON *item,const char *str) { const char *ptr=str+1;char...
a simpler fix: cJSON.c file: 198d197 < const char * end_ptr = ptr; 204c203 < while...
a simpler fix: cJSON.c file: 198d197 < const char * end_ptr = ptr; 204c203 < while...
static unsigned parse_hex4(const char * & str) { unsigned h=0; if (str>='0' && str<='9')...
change uc2=parse_hex4(ptr+3);ptr+=6; to ptr+=3; uc2=parse_hex4(ptr); //ptr+=6;
cJSON can cause segment fault