derick Mon Jun 6 08:41:29 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/standard http_fopen_wrapper.c
/php-src NEWS
Log:
- Fixed bug #33242 (Mangled error message when stream fails).
http://cvs.php.net/diff.php/php-src/ext/standard/http_fopen_wrapper.c?r1=1.88.2.3&r2=1.88.2.4&ty=u
Index: php-src/ext/standard/http_fopen_wrapper.c
diff -u php-src/ext/standard/http_fopen_wrapper.c:1.88.2.3
php-src/ext/standard/http_fopen_wrapper.c:1.88.2.4
--- php-src/ext/standard/http_fopen_wrapper.c:1.88.2.3 Thu May 5 22:19:36 2005
+++ php-src/ext/standard/http_fopen_wrapper.c Mon Jun 6 08:41:28 2005
@@ -18,7 +18,7 @@
| Wez Furlong <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: http_fopen_wrapper.c,v 1.88.2.3 2005/05/06 02:19:36 iliaa Exp $ */
+/* $Id: http_fopen_wrapper.c,v 1.88.2.4 2005/06/06 12:41:28 derick Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -101,6 +101,8 @@
char *transport_string, *errstr = NULL;
int transport_len, have_header = 0, request_fulluri = 0;
+ tmp_line[0] = '\0';
+
if (redirect_max < 1) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Circular redirect,
aborting.");
return NULL;
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.422&r2=1.1760.2.423&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1760.2.422 php-src/NEWS:1.1760.2.423
--- php-src/NEWS:1.1760.2.422 Mon Jun 6 06:38:21 2005
+++ php-src/NEWS Mon Jun 6 08:41:28 2005
@@ -14,6 +14,7 @@
- Fixed memory corruption in ImageTTFText() with 64bit systems. (Andrey)
- Fixed memory corruption in stristr(). (Derick)
- Fixed segfaults when CURL callback functions throw exception. (Tony)
+- Fixed bug #33242 (Mangled error message when stream fails). (Derick)
- Fixed bug #33222 (segfault when CURL handle is closed in a callback). (Tony)
- Fixed bug #33214 (odbc_next_result does not signal SQL errors with
2-statement SQL batches). (rich at kastle dot com, Tony)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php