]> 4ch.mooo.com Git - 16.git/commitdiff
added comment about crashes wwww
authorsparky4 <sparky4@cock.li>
Tue, 2 Jun 2015 20:15:59 +0000 (15:15 -0500)
committersparky4 <sparky4@cock.li>
Tue, 2 Jun 2015 20:15:59 +0000 (15:15 -0500)
modified:   src/lib/mapread.c

src/lib/mapread.c

index c3ebab7f5a410cf1b08d94202de2db0941a8f540..787f22daba5463d777b8c6b33af6ccb3da5a2dc4 100644 (file)
@@ -180,6 +180,9 @@ int loadmap(char *mn, map_t *map)
 
 again:
 //fprintf(stdout, "    parse~ tok=%zu  jslen=%zu       r=%d    _memavl()=%u    BUFSIZ=%d~\n", tokcount, jslen, r, _memavl(), BUFSIZ);
+/*
+               I think it crashes on the line below when it tries to parse the data of huge maps... wwww this is a jsmn problem wwww
+*/
                r = jsmn_parse(&p, js, jslen, tok, tokcount);
 //0000fprintf(stdout, "r=      [%d]\n", r);
                if (r < 0) {