Bug #80220 [PATCH]: imap_mail_compose() may leak memory
Edit report at https://bugs.php.net/bug.php?id=80220&edit=1
ID: 80220
Patch added by: cmb@php.net
Reported by: cmb@php.net
Summary: imap_mail_compose() may leak memory
Status: Open
Type: Bug
Package: IMAP related
Operating System: *
PHP Version: 7.3Git-2020-10-12 (Git)
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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)