ref: 32bf345fd02bce5a7ec41af83e40e87eb65d9c13
parent: 24b1997368f788e1253f6311c2a9f0b5342eab22
author: Tor Andersson <[email protected]>
date: Fri Apr 21 07:03:29 EDT 2017
Fix stack management error in JSON.stringify.
--- a/json.c
+++ b/json.c
@@ -236,6 +236,7 @@
++n;
js_rot2(J);
}
+ js_pop(J, 1);
if (gap && n) fmtindent(J, sb, gap, level);
js_putc(J, sb, '}');
}