cvs: php-src(PHP_5_2) /ext/json JSON_parser.c

From: Date: Wed, 30 Jul 2008 13:55:27 +0000
Subject: cvs: php-src(PHP_5_2) /ext/json JSON_parser.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-51773@lists.php.net to get a copy of this message
rasmus Wed Jul 30 13:55:27 2008 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/json JSON_parser.c Log: We can afford a larger stack here and other json parsers out there go deeper than 128. http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.1.2.12&r2=1.1.2.13&diff_format=u Index: php-src/ext/json/JSON_parser.c diff -u php-src/ext/json/JSON_parser.c:1.1.2.12 php-src/ext/json/JSON_parser.c:1.1.2.13 --- php-src/ext/json/JSON_parser.c:1.1.2.12 Wed Jun 13 17:56:41 2007 +++ php-src/ext/json/JSON_parser.c Wed Jul 30 13:55:27 2008 @@ -201,7 +201,7 @@ /*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 128 +#define JSON_PARSER_MAX_DEPTH 512 /*

« previous php.cvs (#51773) next »