File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 9
9
- IMAP:
10
10
. Fixed bug #80213 (imap_mail_compose() segfaults on certain $bodies). (cmb)
11
11
. Fixed bug #80215 (imap_mail_compose() may modify by-val parameters). (cmb)
12
+ . Fixed bug #80220 (imap_mail_compose() may leak memory). (cmb)
12
13
13
14
- Opcache:
14
15
. Fixed bug #80184 (Complex expression in while / if statements resolves to
Original file line number Diff line number Diff line change @@ -3264,7 +3264,7 @@ PHP_FUNCTION(imap_mail_compose)
3264
3264
convert_to_string_ex (pvalue );
3265
3265
bod -> md5 = cpystr (Z_STRVAL_P (pvalue ));
3266
3266
}
3267
- } else if (Z_TYPE_P (data ) == IS_ARRAY ) {
3267
+ } else if (Z_TYPE_P (data ) == IS_ARRAY && topbod -> type == TYPEMULTIPART ) {
3268
3268
short type = -1 ;
3269
3269
SEPARATE_ARRAY (data );
3270
3270
if ((pvalue = zend_hash_str_find (Z_ARRVAL_P (data ), "type" , sizeof ("type" ) - 1 )) != NULL ) {
You can’t perform that action at this time.
0 commit comments