|  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
 [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: Fri Aug 14 21:01:24 2020 UTC