Bug #80220 [Asn->Csd]: imap_mail_compose() may leak memory

From: Date: Mon, 12 Oct 2020 11:35:14 +0000
Subject: Bug #80220 [Asn->Csd]: imap_mail_compose() may leak memory
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229567@lists.php.net to get a copy of this message
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)

« previous php.bugs (#229567) next »