Bug #79951 [Opn]: Memory leak in zend_string

From: Date: Tue, 11 Aug 2020 07:15:55 +0000
Subject: Bug #79951 [Opn]: Memory leak in zend_string
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228500@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79951&edit=1 ID: 79951 Updated by: sjon@php.net Reported by: changochen1 at gmail dot com Summary: Memory leak in zend_string Status: Open Type: Bug Package: Scripting Engine problem PHP Version: 8.0Git-2020-08-10 (Git) Block user comment: N Private report: N New Comment: this seems to have been fixed in 8.0alpha3 already, see https://3v4l.org/2vhhJ#v800alpha1 Previous Comments: ------------------------------------------------------------------------ [2020-08-10 22:31:32] changochen1 at gmail dot com Description: ------------ We found a memory leak in PHP. Please refer to the POC. Test script: --------------- <? $a = array ( 4 , 1 , $a , 1 , 1.500000 , 7 , false , 'x' , 'x' , 500 ) ; foreach ( $a as $b ) str_replace ( $GLOBALS , $a , $a ) ; ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79951&edit=1

« previous php.bugs (#228500) next »