php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68826 Resource leak in zip_stream.c
Submitted: 2015-01-13 17:34 UTC Modified: 2015-01-19 04:40 UTC
From: bugreports at internot dot info Assigned: laruence (profile)
Status: Closed Package: Zip Related
PHP Version: master-Git-2015-01-13 (Git) OS: Linux Ubuntu 14.04
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bugreports at internot dot info
New email:
PHP Version: OS:

 

 [2015-01-13 17:34 UTC] bugreports at internot dot info
Description:
------------
Hi,

In /ext/zip/zip_stream.c:

162                if (zip_stat(za, fragment, ZIP_FL_NOCASE, &sb) != 0) {
163                        zend_string_release(file_basename);
164                        return -1;

this leaks 'za'.


Thanks,


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-18 04:21 UTC] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b21d9123a50bfeec1a5b4e0bbd50eb277c24b02f
Log: Fixed #68826 (Resource leak)
 [2015-01-18 04:21 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2015-01-19 04:40 UTC] stas@php.net
-Summary: Resource leak +Summary: Resource leak in zip_stream.c -Assigned To: +Assigned To: laruence
 [2016-07-20 11:39 UTC] davey@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b21d9123a50bfeec1a5b4e0bbd50eb277c24b02f
Log: Fixed #68826 (Resource leak)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 16:01:29 2024 UTC