1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 21:52:36 +02:00

- Readd check for nested data (but correct this time)

This commit is contained in:
Marcus Boerger
2004-09-12 12:43:05 +00:00
parent 06ade1ab1c
commit 8564352f59

View File

@@ -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;