From: Adam Harvey Date: Mon, 19 Jul 2010 13:38:53 +0000 (+0000) Subject: MFH: fix for bug #52317 (Segmentation fault when using mail() on a rhel 4.x X-Git-Tag: php-5.3.3~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ce0bb46f637b411c9c56ada29c8b8e8c54d0995;p=php MFH: fix for bug #52317 (Segmentation fault when using mail() on a rhel 4.x (only 64 bit)). --- diff --git a/NEWS b/NEWS index 345aedd330..a3ad74d291 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? Jul 2010, PHP 5.3.3 +- Fixed bug #52317 (Segmentation fault when using mail() on a rhel 4.x (only 64 + bit)). (Adam) - Fixed bug #51583 (Bus error due to wrong alignment in mysqlnd). (Rainer Jung) diff --git a/ext/standard/mail.c b/ext/standard/mail.c index 7b4e89758a..96fb216213 100644 --- a/ext/standard/mail.c +++ b/ext/standard/mail.c @@ -41,6 +41,7 @@ #include "php_mail.h" #include "php_ini.h" +#include "php_string.h" #include "safe_mode.h" #include "exec.h"