diff options
author | Felipe Pena <felipe@php.net> | 2008-07-11 11:27:32 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-07-11 11:27:32 +0000 |
commit | f1f2a238cadb36090d4c65236d0e30f4126ed022 (patch) | |
tree | 5b20b71c003f16f0e533112a9159a55277acf7c3 /ext/imap/php_imap.c | |
parent | cf7e15c3a0fb44f57298c1761a373ca08a6d4a9d (diff) | |
download | php-git-f1f2a238cadb36090d4c65236d0e30f4126ed022.tar.gz |
MFB: - Fixed the strings size in imap_headerinfo
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 c09d7e8380..a5ff6b1db8 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -1968,7 +1968,7 @@ PHP_FUNCTION(imap_headerinfo) pils *imap_le_struct; MESSAGECACHE *cache; ENVELOPE *en; - char dummy[2000], fulladdress[MAILTMPLEN]; + char dummy[2000], fulladdress[MAILTMPLEN + 1]; if (zend_parse_parameters(argc TSRMLS_CC, "rl|lls", &streamind, &msgno, &fromlength, &subjectlength, &defaulthost, &defaulthost_len) == FAILURE) { return; |