From 0953b9a72d7247650b1eec4b0c6590254578e6a5 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Wed, 11 Sep 2013 23:51:46 +0200 Subject: [PATCH] Fix profiler stack dump for string chunks. --- src/lj_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lj_debug.c b/src/lj_debug.c index 92c216f9..97961103 100644 --- a/src/lj_debug.c +++ b/src/lj_debug.c @@ -567,7 +567,7 @@ static int debug_putchunkname(SBuf *sb, GCproto *pt, int pathstrip) } lj_buf_putmem(sb, p, len); } else { - lj_buf_putmem(sb, "[string]", 9); + lj_buf_putmem(sb, "[string]", 8); } return 1; }