Bug #79777 [Opn->Csd]: Assertion `!(executor_globals.exception)' failed, which cause memory leak

From: Date: Sat, 04 Jul 2020 08:00:13 +0000
Subject: Bug #79777 [Opn->Csd]: Assertion `!(executor_globals.exception)' failed, which cause memory leak
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227808@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79777&edit=1 ID: 79777 Updated by: nikic@php.net Reported by: changochen1 at gmail dot com Summary: Assertion `!(executor_globals.exception)' failed, which cause memory leak -Status: Open +Status: Closed Type: Bug Package: Scripting Engine problem PHP Version: 8.0Git-2020-07-03 (Git) Block user comment: N Private report: N New Comment: Automatic comment on behalf of nikita.ppv@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=49396f817a07c791f3bdfa4d301072425e0e9363 Log: Fixed bug #79777 Previous Comments: ------------------------------------------------------------------------ [2020-07-03 19:32:30] changochen1 at gmail dot com /home/yongheng/php-src/Zend/zend_objects.c(174) : Freeing 0x00007ff5356710c0 (152 bytes), script=/home/yongheng/poc === Total 1 memory leaks detected === ------------------------------------------------------------------------ [2020-07-03 19:31:36] changochen1 at gmail dot com Without the assertion, it causes memory leak ------------------------------------------------------------------------ [2020-07-03 19:26:54] changochen1 at gmail dot com Description: ------------ We found an assertion failed in the php script engine. Test case: --- <?php die ( function() {}) ; ?> --- CMDline: php -f poc ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79777&edit=1

« previous php.bugs (#227808) next »