Bug #68718 [Fbk->NoF]: memleak in zlib

From: Date: Sun, 18 Jan 2015 04:22:30 +0000
Subject: Bug #68718 [Fbk->NoF]: memleak in zlib
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190028@lists.php.net to get a copy of this message
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)

« previous php.bugs (#190028) next »