summaryrefslogtreecommitdiff
path: root/ext/imap
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-11-08 11:15:06 +0100
committerAnatol Belski <ab@php.net>2016-11-08 11:15:06 +0100
commit9b813423524c0507f78e90102f62fcdc1a83febb (patch)
tree2370b9a49677d9f3d45a1ecc824593ef5f70c617 /ext/imap
parented12167edf23e3bbd5eba8ef36bdcd8122e9ad0b (diff)
parent2b30b542750a917932fed29cafac83d40a045ffe (diff)
downloadphp-git-9b813423524c0507f78e90102f62fcdc1a83febb.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash Fix #72696: imagefilltoborder stackoverflow on truecolor images Fix #72482: Ilegal write/read access caused by gdImageAALine overflow Fix bug #73144 and bug #73341 - remove extra dtor remove unreferenced var came in with merge Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle Fix #72696: imagefilltoborder stackoverflow on truecolor images Fix #72482: Ilegal write/read access caused by gdImageAALine overflow fix version set versions Fix bug #73144 and bug #73341 - remove extra dtor Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
Diffstat (limited to 'ext/imap')
-rw-r--r--ext/imap/php_imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index 76edc78b22..acbdea6cd0 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -3934,7 +3934,7 @@ int _php_imap_mail(char *to, char *subject, char *message, char *headers, char *
char *tsm_errmsg = NULL;
ADDRESS *addr;
char *bufferTo = NULL, *bufferCc = NULL, *bufferBcc = NULL, *bufferHeader = NULL;
- int offset, bufferLen = 0;
+ size_t offset, bufferLen = 0;
size_t bt_len;
if (headers) {