#28694 [Com]: ReflectionExtension::getFunctions() crashes PHP
| From: | d dot at d dot cl | Date: | Thu, 26 Aug 2004 11:44:37 +0000 |
| Subject: | #28694 [Com]: ReflectionExtension::getFunctions() crashes PHP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-65271@lists.php.net to get a copy of this message | ||
ID: 28694
Comment by: d dot at d dot cl
Reported By: su1d at phpclub dot net
Status: Closed
Bug Type: Reproducible crash
Operating System: *
PHP Version: 5.0.0RC3
Assigned To: helly
New Comment:
d
Previous Comments:
------------------------------------------------------------------------
[2004-06-09 21:27:05] helly@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2004-06-09 09:48:49] derick@php.net
Andi says:
Best to assign this to Marcus or Timm? They wrote those bugs :)
------------------------------------------------------------------------
[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