mirror of
https://github.com/php/php-src.git
synced 2025-01-24 20:53:37 +08:00
- Readd check for nested data (but correct this time)
This commit is contained in:
parent
06ade1ab1c
commit
8564352f59
@ -217,6 +217,11 @@ static inline int process_nested_data(UNSERIALIZE_PARAMETER, HashTable *ht, int
|
||||
|
||||
zval_dtor(key);
|
||||
FREE_ZVAL(key);
|
||||
|
||||
if (elements && *(*p-1) != ';' && *(*p-1) != '}') {
|
||||
(*p)--;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user