From 99b85d1919c23c6666ff1ee7e0f61c6bd4bc495e Mon Sep 17 00:00:00 2001 From: Mike Waychison Date: Fri, 14 Jul 2000 08:12:53 +0000 Subject: [PATCH] (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. --- ext/imap/php_imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0