X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fmapread.c;h=787f22daba5463d777b8c6b33af6ccb3da5a2dc4;hb=1e830ce1dba1aa1e57c9f23b81f20c58c9928d42;hp=c3ebab7f5a410cf1b08d94202de2db0941a8f540;hpb=4448398b83f88683f07e18e1d8ab5ffbf56ce5cb;p=16.git diff --git a/src/lib/mapread.c b/src/lib/mapread.c index c3ebab7f..787f22da 100644 --- a/src/lib/mapread.c +++ b/src/lib/mapread.c @@ -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) {