|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17650 ZTS breaks _php_stream_bz2open()
Submitted: 2002-06-07 22:02 UTC Modified: 2002-06-13 11:07 UTC
From: Assigned:
Status: Closed Package: Bzip2 Related
PHP Version: 4.0CVS-2002-06-07 OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2002-06-07 22:02 UTC]
In _php_stream_bz2open right at the top the call to virtual_filepath returns a pointer in path_copy which is efree() a few lines later but needs to be estrdup() before (I think).


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-12 11:41 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

The path_copy is efree'd because opened_path is NULL, meaning that the caller of the function does not need that result.
 [2002-06-12 12:39 UTC]
Not yet ...
 [2002-06-13 11:07 UTC]
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at In case this was a documentation 
problem, the fix will show up soon at
In case this was a website problem, the change will show
up on the site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Mar 28 22:01:23 2020 UTC