mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
I don't see any reason to leave the stack limitation at 20. We have
reports of this limit being hit now and as far as I can tell bumping it to 128 isn't going break anything in the parser code.
This commit is contained in:
parent
efcdcd80b6
commit
464d87e58b
@ -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 40
|
||||
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user