rasmus          Thu May 24 22:39:06 2007 UTC

  Modified files:              
    /php-src/ext/json   JSON_parser.c 
  Log:
  MFB 5_2 - increase json parser depth from 20 to 128
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.10&r2=1.11&diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u php-src/ext/json/JSON_parser.c:1.10 php-src/ext/json/JSON_parser.c:1.11
--- php-src/ext/json/JSON_parser.c:1.10 Wed May 16 12:53:36 2007
+++ php-src/ext/json/JSON_parser.c      Thu May 24 22:39:06 2007
@@ -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 20
+#define JSON_PARSER_MAX_DEPTH 128
 
 
 /*

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to