Bug #79830 [Opn->Ver]: Memory leak in zend_hash and zend_string

From: Date: Sat, 11 Jul 2020 04:30:02 +0000
Subject: Bug #79830 [Opn->Ver]: Memory leak in zend_hash and zend_string
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227953@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79830&edit=1 ID: 79830 Updated by: twosee@php.net Reported by: changochen1 at gmail dot com Summary: Memory leak in zend_hash and zend_string -Status: Open +Status: Verified Type: Bug Package: Scripting Engine problem PHP Version: 8.0Git-2020-07-11 (Git) Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2020-07-11 02:45:39] changochen1 at gmail dot com Description: ------------ LOG: --- [Fri Jul 10 22:44:16 2020] Script: '/home/yongheng/php_commit/php_poc24.php' /home/yongheng/php_clean/Zend/zend_hash.c(278) : Freeing 0x00007f1300e585a0 (56 bytes), script=/home/yongheng/php_commit/php_poc24.php [Fri Jul 10 22:44:16 2020] Script: '/home/yongheng/php_commit/php_poc24.php' /home/yongheng/php_clean/Zend/zend_hash.c(171) : Freeing 0x00007f1300e6dc00 (320 bytes), script=/home/yongheng/php_commit/php_poc24.php [Fri Jul 10 22:44:16 2020] Script: '/home/yongheng/php_commit/php_poc24.php' /home/yongheng/php_clean/Zend/zend_string.h(141) : Freeing 0x00007f1300e80a00 (224 bytes), script=/home/yongheng/php_commit/php_poc24.php Last leak repeated 1 time === Total 4 memory leaks detected === --- Test script: --------------- <? spl_autoload_register ( function () { ob_start ( function () { var_dump ( function ( $a ) { } ) ; } ) ; } ) ; try { new ( 'p' ) ; } catch ( b ) { } ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79830&edit=1

« previous php.bugs (#227953) next »