]> granicus.if.org Git - php/commitdiff
(imap_mail) Fixed a sizing of the arg parameter array. Was causing
authorMike Waychison <mikew@php.net>
Fri, 14 Jul 2000 08:12:53 +0000 (08:12 +0000)
committerMike Waychison <mikew@php.net>
Fri, 14 Jul 2000 08:12:53 +0000 (08:12 +0000)
            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

index 59bb710201a973ed960b41fb0b82b8d47b6b10ed..0fd7b8669e60fd76d6f94a79a29d60b3ab4a8007 100644 (file)
@@ -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;