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 99- IMAP:
1010 . Fixed bug #80213 (imap_mail_compose() segfaults on certain $bodies). (cmb)
1111 . Fixed bug #80215 (imap_mail_compose() may modify by-val parameters). (cmb)
12+ . Fixed bug #80220 (imap_mail_compose() may leak memory). (cmb)
1213
1314- Opcache:
1415 . 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)
32643264 convert_to_string_ex (pvalue );
32653265 bod -> md5 = cpystr (Z_STRVAL_P (pvalue ));
32663266 }
3267- } else if (Z_TYPE_P (data ) == IS_ARRAY ) {
3267+ } else if (Z_TYPE_P (data ) == IS_ARRAY && topbod -> type == TYPEMULTIPART ) {
32683268 short type = -1 ;
32693269 SEPARATE_ARRAY (data );
32703270 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