From: Mike Waychison Date: Fri, 14 Jul 2000 08:12:53 +0000 (+0000) Subject: (imap_mail) Fixed a sizing of the arg parameter array. Was causing X-Git-Tag: PRE_FILE_COMPILE_API_CHANGE~277 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99b85d1919c23c6666ff1ee7e0f61c6bd4bc495e;p=php (imap_mail) Fixed a sizing of the arg parameter array. Was causing Seg-Faults if rpath was specified. @ Fixed a bug with imap_mail where apache would segfault if the rpath @ parameter was specified. # ouch. --- diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 59bb710201..0fd7b8669e 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -3218,7 +3218,7 @@ int _php_imap_mail(char *to, char *subject, char *message, char *headers, char * Send an email message */ PHP_FUNCTION(imap_mail) { - zval *argv[6]; + zval *argv[7]; char *to=NULL, *message=NULL, *headers=NULL, *subject=NULL, *cc=NULL, *bcc=NULL, *rpath=NULL; int argc;