We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 19495fc + 5c14021 commit 7e600ecCopy full SHA for 7e600ec
1 file changed
src/json.c
@@ -844,7 +844,7 @@ json_item *init_json_parser(const char *json_string)
844
845
jc = new_JSON_parser(&config);
846
847
- for (pRaw = json_string; *pRaw; pRaw++) {
+ for (pRaw = json_string; (unsigned char)*pRaw; pRaw++) {
848
if (!JSON_parser_char(jc, *pRaw)) {
849
free_json_item(jcx.head);
850
delete_JSON_parser(jc);
0 commit comments