Fix infinite loop in cJSON_Minify

This commit is contained in:
Max Bruckner committed 2019-05-16 20:01:02 +02:00
1 parent 465352fb99
commit 08d2bc766a
2 files changed
+9

No files matched your search

+2
View File
@@ -2717,6 +2717,8 @@ CJSON_PUBLIC(void) cJSON_Minify(char *json)
else if (json[1] == '*')
{
skip_multiline_comment(&json);
} else {
json++;
}
break;