diff options
author | Mike Waychison <mikew@php.net> | 2000-07-14 08:12:53 +0000 |
---|---|---|
committer | Mike Waychison <mikew@php.net> | 2000-07-14 08:12:53 +0000 |
commit | 99b85d1919c23c6666ff1ee7e0f61c6bd4bc495e (patch) | |
tree | 336e4a55338051acc5a2708027cec7d50246ecb8 /ext/imap/php_imap.c | |
parent | 23f1e503c15338d5f95d07b856a9490deed4fc78 (diff) | |
download | php-git-99b85d1919c23c6666ff1ee7e0f61c6bd4bc495e.tar.gz |
(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.
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r-- | ext/imap/php_imap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |