diff options
author | Antony Dovgal <tony2001@php.net> | 2005-09-16 17:05:09 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2005-09-16 17:05:09 +0000 |
commit | f43767b249f0bcf05582a75b7024e171f815c5db (patch) | |
tree | 119c5e5659eb36d04814e082cbd9cf4f3c8255f6 /Zend/zend.c | |
parent | 27763b36665f2dea411c5c660e2809db63e289d2 (diff) | |
download | php-git-f43767b249f0bcf05582a75b7024e171f815c5db.tar.gz |
fix #34505 (possible memory corruption when unmangling properties with empty names)
1st part
Diffstat (limited to 'Zend/zend.c')
-rw-r--r-- | Zend/zend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index 7297cddbd6..3465e55ab6 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -129,7 +129,7 @@ static void print_hash(HashTable *ht, int indent, zend_bool is_object TSRMLS_DC) if (is_object) { char *prop_name, *class_name; - zend_unmangle_property_name(string_key, &class_name, &prop_name); + zend_unmangle_property_name_ex(string_key, str_len, &class_name, &prop_name); ZEND_PUTS(prop_name); if (class_name) { if (class_name[0]=='*') { |