From daa2241087dfbfab3733ff667b762b55df4b9269 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 20 Sep 2021 14:08:39 +0200 Subject: [PATCH] Increase default string limit to 256M. --- jsi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsi.h b/jsi.h index b4415ac..ecd922b 100644 --- a/jsi.h +++ b/jsi.h @@ -94,7 +94,7 @@ typedef struct js_StackTrace js_StackTrace; #define JS_ASTLIMIT 100 /* max nested expressions */ #endif #ifndef JS_STRLIMIT -#define JS_STRLIMIT (1<<16) /* max string length */ +#define JS_STRLIMIT (1<<28) /* max string length */ #endif /* instruction size -- change to int if you get integer overflow syntax errors */