Bug #80220 [Asn->Csd]: imap_mail_compose() may leak memory
Edit report at https://bugs.php.net/bug.php?id=80220&edit=1
ID: 80220
Updated by: cmb@php.net
Reported by: cmb@php.net
Summary: imap_mail_compose() may leak memory
-Status: Assigned
+Status: Closed
Type: Bug
Package: IMAP related
Operating System: *
PHP Version: 7.3Git-2020-10-12 (Git)
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=0d022ddf03c5fabaaa22e486d1e4a367ed9170a7
Log: Fix #80220: imap_mail_compose() may leak memory
Previous Comments:
------------------------------------------------------------------------
[2020-10-12 08:46:02] cmb@php.net
The following pull request has been associated:
Patch Name: Fix #80220: imap_mail_compose() may leak memory
On GitHub: https://github.com/php/php-src/pull/6321
Patch: https://github.com/php/php-src/pull/6321.patch
------------------------------------------------------------------------
[2020-10-12 08:27:30] cmb@php.net
Description:
------------
If imap_mail_compose() is called with multiple bodies, but the
first body's type != TYPEMULTIPART, the function leaks memory.
This can be seen when running ext/imap/tests/bug80215.php with a
leak checker.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80220&edit=1
Thread (3 messages)