#28694 [Asn]: ReflectionExtension::getFunctions() crashes PHP
| From: | derick@php.net | Date: | Wed, 09 Jun 2004 07:48:50 +0000 |
| Subject: | #28694 [Asn]: ReflectionExtension::getFunctions() crashes PHP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60625@lists.php.net to get a copy of this message | ||
ID: 28694
Updated by: derick@php.net
Reported By: su1d at phpclub dot net
Status: Assigned
Bug Type: Reproducible crash
Operating System: Win32
PHP Version: 5CVS-2004-06-08 (dev)
-Assigned To: andi
+Assigned To: helly
New Comment:
Andi says:
Best to assign this to Marcus or Timm? They wrote those bugs :)
Previous Comments:
------------------------------------------------------------------------
[2004-06-09 09:33:19] derick@php.net
IT does not crash for me in Debug mode, but it does generate
overflows:
[Wed Jun 9 09:32:04 2004] Script: '-'
---------------------------------------
/dat/dev/php/php-5.0dev/Zend/zend_reflection_api.c(187) : Block
0x08583FA4 status:
Beginning: Overrun (magic=0x08583AA0, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jun 9 09:32:04 2004] Script: '-'
---------------------------------------
/dat/dev/php/php-5.0dev/Zend/zend_reflection_api.c(187) : Block
0x08584064 status:
Beginning: Overrun (magic=0x08583F90, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jun 9 09:32:04 2004] Script: '-'
---------------------------------------
/dat/dev/php/php-5.0dev/Zend/zend_reflection_api.c(187) : Block
0x08584124 status:
Beginning: Overrun (magic=0x08584050, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jun 9 09:32:04 2004] Script: '-'
---------------------------------------
/dat/dev/php/php-5.0dev/Zend/zend_reflection_api.c(187) : Block
0x085841EC status:
Beginning: Overrun (magic=0x0858D370, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jun 9 09:32:04 2004] Script: '-'
---------------------------------------
/dat/dev/php/php-5.0dev/Zend/zend_reflection_api.c(187) : Block
0x085842AC status:
Beginning: Overrun (magic=0x085841D0, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jun 9 09:32:04 2004] Script: '-'
---------------------------------------
/dat/dev/php/php-5.0dev/Zend/zend_reflection_api.c(187) : Block
0x0858436C status:
Beginning: Overrun (magic=0x08584298, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jun 9 09:32:04 2004] Script: '-'
---------------------------------------
/dat/dev/php/php-5.0dev/Zend/zend_reflection_api.c(187) : Block
0x0858442C status:
Beginning: Overrun (magic=0x08584358, expected=0x7312F8DC)
End: Unknown
---------------------------------------
------------------------------------------------------------------------
[2004-06-08 13:22:17] su1d at phpclub dot net
Description:
------------
Have a look at the code to get the idea.
Reproduce code:
---------------
$e = new ReflectionExtension('pcre'); var_dump($e->getFunctions());
Expected result:
----------------
a list of extension's functions
Actual result:
--------------
a list of extension's functions
followed by crash
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28694&edit=1