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_compile.h | |
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_compile.h')
-rw-r--r-- | Zend/zend_compile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 006f0eedd8..c9e1bced91 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -522,6 +522,7 @@ void zend_class_add_ref(zend_class_entry **ce); ZEND_API void zend_mangle_property_name(char **dest, int *dest_length, char *src1, int src1_length, char *src2, int src2_length, int internal); ZEND_API void zend_unmangle_property_name(char *mangled_property, char **prop_name, char **class_name); +ZEND_API void zend_unmangle_property_name_ex(char *mangled_property, int mangled_property_len, char **prop_name, char **class_name); #define ZEND_FUNCTION_DTOR (void (*)(void *)) zend_function_dtor #define ZEND_CLASS_DTOR (void (*)(void *)) destroy_zend_class |