]> granicus.if.org Git - php/commitdiff
MFH: Fixed bug #25037 (Possible infinite loop inside SendText())
authorIlia Alshanetsky <iliaa@php.net>
Mon, 11 Aug 2003 16:38:08 +0000 (16:38 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 11 Aug 2003 16:38:08 +0000 (16:38 +0000)
NEWS
win32/sendmail.c

diff --git a/NEWS b/NEWS
index 13f2cab58e82e00778e7686d83ea7f0d1673de57..bf248f76755eaadf8f507321a40aff5fda4150ee 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
 PHP 4                                                                      NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? Aug 2003, Version 4.3.3RC4
+- Fixed bug #25037 (Possible infinite loop inside SendText()). (Ilia)
 - Fixed bug #25007 (rand() & mt_rand() seed RNG every call). (Jani)
 - Fixed bug #24989 (external libexpat conflicts with bundled libexpat). (Jani)
 - Fixed bug #24980 (array_reduce() uses first element as default running
index 64a9ca668f8df260b5d8929fb39896cbeb53b736..7cdc3a3190e4a5c3aed5314883d4a1348831e05e 100644 (file)
@@ -623,6 +623,7 @@ send_chunk:
                        i = data_cln_len - (parts * 1024);
                        strlcpy(Buffer, p, i);
                        Buffer[i] = '\0';
+                       parts++;
                        goto send_chunk;
                }
        }