Bug #79832 [Opn->Csd]: Assertion `prop_num >= 0 && prop_num.. ", which causes segfault in release buil
| From: | changochen1 at gmail dot com | Date: | Sat, 11 Jul 2020 20:06:02 +0000 |
| Subject: | Bug #79832 [Opn->Csd]: Assertion `prop_num >= 0 && prop_num.. ", which causes segfault in release buil | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-227967@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79832&edit=1
ID: 79832
User updated by: changochen1 at gmail dot com
Reported by: changochen1 at gmail dot com
Summary: Assertion `prop_num >= 0 && prop_num.. ", which
causes segfault in release buil
-Status: Open
+Status: Closed
Type: Bug
Package: Scripting Engine problem
PHP Version: 8.0Git-2020-07-11 (Git)
Block user comment: N
Private report: N
New Comment:
Fixed at commit 56dec3cc73829cefe9817d4c59ea3873dde1f443
Previous Comments:
------------------------------------------------------------------------
[2020-07-11 08:27:34] twosee@php.net
ob_start allows PHP developers to do anything during the internal functions call (those might print
something), it is unexpected for the kernel, I think there should be many similar problems we
haven't found...
------------------------------------------------------------------------
[2020-07-11 06:04:16] changochen1 at gmail dot com
Description:
------------
LOG:
php: /home/yongheng/php_clean/Zend/zend_objects_API.h:102: zend_property_info
*zend_get_property_info_for_slot(zend_object *, zval *): Assertion `prop_num >= 0 &&
prop_num < obj->ce->default_properties_count' failed.
Test script:
---------------
<?
ob_start ( function () use ( & $a ) {
$a = new ReflectionClass ( new ArrayIterator ) ;
}
, 20 ) > var_dump ( $GLOBALS ) ;
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79832&edit=1