dangling pointers made by zend_disable_class

 [2012-08-04 02:29 UTC] laruence@php.net

Description:
------------
this bug is found by digging bug #62737

Extensions use zend_register_internal_class to register class, and they often 
preserved the return value and reuse that pointer instead of search in class table 
when that class will be used.

but when user specific disable_classes in php.ini

zend_disable_class will delete the corresponding class entry, then make the 
pointer which is preserved by extension become a wild pointer.

http://lxr.php.net/xref/PHP_5_3/Zend/zend_API.c#2348

Test script:
---------------
similar as #62733

Expected result:
----------------
none

Actual result:
--------------
none

 [2012-08-04 02:37 UTC] laruence@php.net

-Summary: Wild pointers made by zend_disable_class +Summary: dangling pointers made by zend_disable_class

 [2012-08-11 20:34 UTC] felipe@php.net

-Assigned To: +Assigned To: laruence