Bug #17650 Updated: ZTS breaks _php_stream_bz2open()

From: Date: Wed, 12 Jun 2002 15:41:53 +0000
Subject: Bug #17650 Updated: ZTS breaks _php_stream_bz2open()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10264@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: Bogus Bug Type: Bzip2 Related Operating System: All PHP Version: 4.0CVS-2002-06-07 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#10264) next »