Bug #68887 [Asn->Csd]: resources are not freed correctly
| From: | dmitry@php.net | Date: | Wed, 08 Apr 2015 10:30:17 +0000 |
| Subject: | Bug #68887 [Asn->Csd]: resources are not freed correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-191897@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: dmitry@php.net
Reported by: mike@php.net
Summary: resources are not freed correctly
-Status: Assigned
+Status: Closed
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:
Automatic comment on behalf of dmitry@zend.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4d9a1883aa764e502990488d2e8b9c978be6fbd2
Log: Fixed bug #68887 (resources are not freed correctly)
Previous Comments:
------------------------------------------------------------------------
[2015-01-30 11:48:33] mike@php.net
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.
------------------------------------------------------------------------
[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