Patch bug76337.patch for Reproducible crash Bug #76337
Patch version 2018-05-13 23:47 UTC
Return to Bug #76337 |
Download this patch
Patch Revisions:
Developer: xKhorasan+php@gmail.com
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 843d1ecdf1..9c977f0d3a 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -2785,6 +2785,7 @@ ZEND_API int zend_register_class_alias_ex(const char *name, size_t name_len, zen
zend_assert_valid_class_name(lcname);
+ lcname = zend_new_interned_string(lcname);
ce = zend_hash_add_ptr(CG(class_table), lcname, ce);
zend_string_release(lcname);
if (ce) {
|