Bug #68887 [Asn]: resources are not freed correctly
| From: | mike@php.net | Date: | Fri, 30 Jan 2015 11:48:33 +0000 |
| Subject: | Bug #68887 [Asn]: resources are not freed correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-190350@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68887&edit=1
ID: 68887
Updated by: mike@php.net
Reported by: mike@php.net
Summary: resources are not freed correctly
Status: Assigned
Type: Bug
Package: Scripting Engine problem
PHP Version: master-Git-2015-01-22 (Git)
Assigned To: dmitry
Block user comment: N
Private report: N
New Comment:
Here's a (partial) fix: https://gist.github.com/m6w6/628c03b8271d8c8ab120
But it makes ext/standard/tests/http/bug60570.phpt fail.
Maybe it's just enough for a hint where to start looking at.
Previous Comments:
------------------------------------------------------------------------
[2015-01-22 14:29:57] mike@php.net
Description:
------------
zend_resource_close/delete fails to free hash entry
Test script:
---------------
while (fclose(fopen("php://temp","w+")));
Expected result:
----------------
No memory exhaustion.
Actual result:
--------------
OOM
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68887&edit=1