cvs: php-src /ext/json JSON_parser.c

From: Date: Wed, 30 Jul 2008 13:57:47 +0000
Subject: cvs: php-src /ext/json JSON_parser.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-51774@lists.php.net to get a copy of this message
rasmus Wed Jul 30 13:57:47 2008 UTC Modified files: /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.17&r2=1.18&diff_format=u Index: php-src/ext/json/JSON_parser.c diff -u php-src/ext/json/JSON_parser.c:1.17 php-src/ext/json/JSON_parser.c:1.18 --- php-src/ext/json/JSON_parser.c:1.17 Sun Oct 7 05:15:03 2007 +++ php-src/ext/json/JSON_parser.c Wed Jul 30 13:57:47 2008 @@ -206,7 +206,7 @@ /* }}} */ -#define JSON_PARSER_MAX_DEPTH 128 +#define JSON_PARSER_MAX_DEPTH 512 /* A stack maintains the states of nested structures.

« previous php.cvs (#51774) next »