Bug #68718 [Fbk->NoF]: memleak in zlib
Edit report at https://bugs.php.net/bug.php?id=68718&edit=1
ID: 68718
Updated by: php-bugs@lists.php.net
Reported by: bugreports at internot dot info
Summary: memleak in zlib
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Zlib related
Operating System: Linux Ubuntu 14.04
PHP Version: master-Git-2015-01-02 (Git)
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2015-01-08 08:42:59] laruence@php.net
I am not sure, but gzclose supposed to close it?
------------------------------------------------------------------------
[2015-01-02 08:46:15] bugreports at internot dot info
Description:
------------
Hi,
In /ext/zlib/zlib_fopen_wrapper.c:
141 self->gz_file = gzdopen(dup(fd), mode);
the handle opened by 'dup(fd)' is never closed, leading to memory leaks.
Thanks,
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68718&edit=1
Thread (4 messages)