From 1e830ce1dba1aa1e57c9f23b81f20c58c9928d42 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 2 Jun 2015 15:15:59 -0500 Subject: [PATCH] added comment about crashes wwww modified: src/lib/mapread.c --- src/lib/mapread.c | 3 +++ 1 file changed, 3 insertions(+) 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) { -- 2.39.5