Bug #17650 Updated: ZTS breaks _php_stream_bz2open()
| From: | andrei@php.net | Date: | Thu, 13 Jun 2002 15:07:02 +0000 |
| Subject: | Bug #17650 Updated: ZTS breaks _php_stream_bz2open() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10354@lists.php.net to get a copy of this message | ||
ID: 17650
Updated by: andrei@php.net
Reported By: mfischer@php.net
-Status: Critical
+Status: Closed
Bug Type: Bzip2 Related
Operating System: All
PHP Version: 4.0CVS-2002-06-07
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-06-12 12:39:28] mfischer@php.net
Not yet ...
------------------------------------------------------------------------
[2002-06-12 11:41:52] andrei@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
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-07 22:02:30] mfischer@php.net
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).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17650&edit=1