Bug #79959 [Opn->Fbk]: Memory leak in zend_string
| From: | nikic@php.net | Date: | Wed, 12 Aug 2020 07:52:53 +0000 |
| Subject: | Bug #79959 [Opn->Fbk]: Memory leak in zend_string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-228529@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79959&edit=1
ID: 79959
Updated by: nikic@php.net
Reported by: changochen1 at gmail dot com
Summary: Memory leak in zend_string
-Status: Open
+Status: Feedback
Type: Bug
Package: Scripting Engine problem
PHP Version: 8.0Git-2020-08-12 (Git)
Block user comment: N
Private report: N
New Comment:
I can't reproduce this leak. Not seeing a message from ZMM or anything under USE_ZEND_ALLOC=0
valgrind --leak-check=full.
Do you have a stack trace for the leak?
Previous Comments:
------------------------------------------------------------------------
[2020-08-12 05:45:51] changochen1 at gmail dot com
Description:
------------
We found a memory leak in PHP. Please refer to the POC.
Test script:
---------------
<?php
$f1 = fopen ( "php://input" , "r" ) ;
$f2 = fopen ( 20, 10 , $a [ 1 ] [ 1 ] = 3409 , $f1 ) ;
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79959&edit=1