derick Mon Jun 6 08:42:52 2005 EDT
Modified files: (Branch: PHP_4_4)
/php-src/ext/standard http_fopen_wrapper.c
/php-src NEWS
Log:
- MFH: 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.53.2.20&r2=1.53.2.20.2.1&ty=u
Index: php-src/ext/standard/http_fopen_wrapper.c
diff -u php-src/ext/standard/http_fopen_wrapper.c:1.53.2.20
php-src/ext/standard/http_fopen_wrapper.c:1.53.2.20.2.1
--- php-src/ext/standard/http_fopen_wrapper.c:1.53.2.20 Thu May 5 22:19:04 2005
+++ php-src/ext/standard/http_fopen_wrapper.c Mon Jun 6 08:42:50 2005
@@ -18,7 +18,7 @@
| Wez Furlong <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: http_fopen_wrapper.c,v 1.53.2.20 2005/05/06 02:19:04 iliaa Exp $ */
+/* $Id: http_fopen_wrapper.c,v 1.53.2.20.2.1 2005/06/06 12:42:50 derick Exp $
*/
#include "php.h"
#include "php_globals.h"
@@ -107,6 +107,8 @@
size_t chunk_size = 0, file_size = 0;
int eol_detect, have_header = 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.1247.2.920.2.2&r2=1.1247.2.920.2.3&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.920.2.2 php-src/NEWS:1.1247.2.920.2.3
--- php-src/NEWS:1.1247.2.920.2.2 Mon Jun 6 07:07:55 2005
+++ php-src/NEWS Mon Jun 6 08:42:51 2005
@@ -10,6 +10,7 @@
- Fixed memory corruptions when using references in a wrong way. (Marcus,
Dmitry, Derick)
- Fixed memory corruption in stristr(). (Derick)
+- 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