Re: cvs: php-src(PHP_5_2) /ext/standard http_fopen_wrapper.c
| From: | Nuno Lopes | Date: | Mon, 23 Apr 2007 21:05:44 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_2) /ext/standard http_fopen_wrapper.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-44067@lists.php.net to get a copy of this message | ||
test please?
----- Original Message ----- From: "Hannes Magnusson" <bjori@php.net>
To: <php-cvs@lists.php.net>
Sent: Monday, April 23, 2007 5:37 PM
Subject: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard http_fopen_wrapper.c
bjori Mon Apr 23 16:37:28 2007 UTCModified files: (Branch: PHP_5_2)/php-src/ext/standard http_fopen_wrapper.c Log: MFH: Plug leak when trying to write via the http wrapper http://cvs.php.net/viewvc.cgi/php-src/ext/standard/http_fopen_wrapper.c?r1=1.99.2.12.2.8&r2=1.99.2.12.2.9&diff_format=u Index: php-src/ext/standard/http_fopen_wrapper.c diff -u php-src/ext/standard/http_fopen_wrapper.c:1.99.2.12.2.8 php-src/ext/standard/http_fopen_wrapper.c:1.99.2.12.2.9 --- php-src/ext/standard/http_fopen_wrapper.c:1.99.2.12.2.8 Tue Feb 27 03:28:16 2007 +++ php-src/ext/standard/http_fopen_wrapper.c Mon Apr 23 16:37:28 2007 @@ -19,7 +19,7 @@| Sara Golemon <pollita@php.net> |+----------------------------------------------------------------------+ */ -/* $Id: http_fopen_wrapper.c,v 1.99.2.12.2.8 2007/02/27 03:28:16 iliaa Exp $ */ +/* $Id: http_fopen_wrapper.c,v 1.99.2.12.2.9 2007/04/23 16:37:28 bjori Exp $ */ #include "php.h" #include "php_globals.h" @@ -138,6 +138,7 @@ if (strpbrk(mode, "awx+")) { php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "HTTP wrapper does not support writeable connections."); + php_url_free(resource); return NULL; } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php