From 814847dba21145b428adf8bbd485e2835a64d92b Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Thu, 24 May 2007 22:39:06 +0000 Subject: [PATCH] MFB 5_2 - increase json parser depth from 20 to 128 --- ext/json/JSON_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/json/JSON_parser.c b/ext/json/JSON_parser.c index b041a43cc1..6939a6d9e9 100644 --- a/ext/json/JSON_parser.c +++ b/ext/json/JSON_parser.c @@ -201,7 +201,7 @@ static const int state_transition_table[30][31] = { /*29*/ {29,29,-1,-1,-1,-1,-1,-1, 3,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} }; -#define JSON_PARSER_MAX_DEPTH 20 +#define JSON_PARSER_MAX_DEPTH 128 /* -- 2.50.1