diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2021-02-08 18:44:20 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2021-02-08 18:44:20 +0100 |
commit | 050214b1f1497bfebe031e32a40c197080511844 (patch) | |
tree | 0e1d887e51e10dd5f78839a2f48c757e2ab3dd86 /win32 | |
parent | 19680f886f02fd8fe4557e6146f927aaa6782d05 (diff) | |
parent | f731477cd798615f9f8412bd2d95a40b911b64fa (diff) | |
download | php-git-050214b1f1497bfebe031e32a40c197080511844.tar.gz |
Merge branch 'PHP-8.0'
* PHP-8.0:
Fix #80706: mail(): Headers after Bcc headers may be ignored
Diffstat (limited to 'win32')
-rw-r--r-- | win32/sendmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c index 059bc946ee..da5bddde37 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -527,7 +527,7 @@ static int SendText(char *RPath, const char *Subject, const char *mailTo, char * header we know it was the last thing. */ pos2 = pos1; } else { - char *pos3 = NULL; + char *pos3 = pos2; while (pos2[2] == ' ' || pos2[2] == '\t') { pos3 = strstr(pos2 + 2, "\r\n"); if (pos3 != NULL) { |