at v206 599 B view raw
1See https://groups.google.com/forum/#!topic/json-c/TYodemkG338 2diff --git a/json_tokener.c b/json_tokener.c 3index 19de8ef..32bc8af 100644 4--- a/json_tokener.c 5+++ b/json_tokener.c 6@@ -352,12 +352,10 @@ struct json_object* json_tokener_parse_ex(struct json_tokener *tok, 7 8 case json_tokener_state_inf: /* aka starts with 'i' */ 9 { 10- int size; 11 int size_inf; 12 int is_negative = 0; 13 14 printbuf_memappend_fast(tok->pb, &c, 1); 15- size = json_min(tok->st_pos+1, json_null_str_len); 16 size_inf = json_min(tok->st_pos+1, json_inf_str_len); 17 char *infbuf = tok->pb->buf; 18 if (*infbuf == '-')