diff options
| author | Felipe Pena <felipe@php.net> | 2008-07-11 11:09:05 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2008-07-11 11:09:05 +0000 |
| commit | a8c4bc32575295be6d51d5a988a2b1bea12a0e61 (patch) | |
| tree | caff0ebfa13e0f19a0eff42bcaeb833ab378ba09 /ext | |
| parent | 26da69af359a81be8dcfe742c9d6d5a8d781eb60 (diff) | |
| download | php-git-a8c4bc32575295be6d51d5a988a2b1bea12a0e61.tar.gz | |
- Fixed the string sizes in imap_headerinfo
Diffstat (limited to 'ext')
| -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 61ec708575..387fd2f0b9 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -1575,7 +1575,7 @@ PHP_FUNCTION(imap_headerinfo) pils *imap_le_struct; MESSAGECACHE *cache; ENVELOPE *en; - char dummy[2000], fulladdress[MAILTMPLEN]; + char dummy[2000], fulladdress[MAILTMPLEN + 1]; int myargc = ZEND_NUM_ARGS(); if (myargc < 2 || myargc > 5 || zend_get_parameters_ex(myargc, &streamind, &msgno, &fromlength, &subjectlength, &defaulthost) == FAILURE) { |
