Re: cvs: php-src(PHP_4_3) /ext/standard fsock.c
| From: | Jani Taskinen | Date: | Wed, 31 Dec 2003 01:33:29 +0000 |
| Subject: | Re: cvs: php-src(PHP_4_3) /ext/standard fsock.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-25486@lists.php.net to get a copy of this message | ||
We used to add an entry to the NEWS file when bugs are fixed..
Or has this practice been dropped during the christmas holidays?
--Jani
On Sat, 20 Dec 2003, Wez Furlong wrote:
>wez Sat Dec 20 15:24:37 2003 EDT
>
> Modified files: (Branch: PHP_4_3)
> /php-src/ext/standard fsock.c
> Log:
> Fix Bug #25597 pfsockopen crashes when recycling a persistent list entry.
>
>
>Index: php-src/ext/standard/fsock.c
>diff -u php-src/ext/standard/fsock.c:1.106.2.11 php-src/ext/standard/fsock.c:1.106.2.12
>--- php-src/ext/standard/fsock.c:1.106.2.11 Sat Nov 29 07:02:40 2003
>+++ php-src/ext/standard/fsock.c Sat Dec 20 15:24:36 2003
>@@ -18,7 +18,7 @@
> +----------------------------------------------------------------------+
> */
>
>-/* $Id: fsock.c,v 1.106.2.11 2003/11/29 12:02:40 wez Exp $ */
>+/* $Id: fsock.c,v 1.106.2.12 2003/12/20 20:24:36 wez Exp $ */
>
> /* converted to PHP Streams and moved much code to main/network.c [wez] */
>
>@@ -164,7 +164,7 @@
> php_stream_to_zval(stream, return_value);
> } else {
> /* it died; we need to replace it */
>- php_stream_close(stream);
>+ php_stream_pclose(stream);
> break;
> }
>
>
>