diff options
author | foobar <sniper@php.net> | 2006-07-22 15:41:42 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2006-07-22 15:41:42 +0000 |
commit | 2b8ad5a0afe8a5b8e612e7a758f61fb854f8841c (patch) | |
tree | b802e9197318f1263662022934993c130c717c77 | |
parent | 40e08311e50b222c7d44d92ea106c25e8a28c781 (diff) | |
download | php-git-2b8ad5a0afe8a5b8e612e7a758f61fb854f8841c.tar.gz |
MFH:- Fixed bug #38183 (disable_classes=Foobar causes disabled class to be called Foo)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Zend/zend_API.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -101,6 +101,8 @@ PHP NEWS - Fixed memory leaks in openssl streams context options. (Pierre) - Fixed handling of extremely long paths inside tempnam() function. (Ilia) +- Fixed bug #38183 (disable_classes=Foobar causes disabled class to be + called Foo). (Jani) - Fixed bug #38125 (undefined reference to spl_dual_it_free_storage). (Marcus) - Fixed bug #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length). (Tony) diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 3d84ec8b34..7a4b78bb20 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -2104,6 +2104,7 @@ ZEND_API int zend_disable_class(char *class_name, uint class_name_length TSRMLS_ } INIT_CLASS_ENTRY((*disabled_class), class_name, disabled_class_new); disabled_class->create_object = display_disabled_class; + disabled_class->name_length = class_name_length; zend_register_internal_class(disabled_class TSRMLS_CC); return 1; } |