|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80220 imap_mail_compose() may leak memory
Submitted: 2020-10-12 08:27 UTC Modified: 2020-10-12 09:01 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: Assigned: cmb (profile)
Status: Closed Package: IMAP related
PHP Version: 7.3Git-2020-10-12 (Git) OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2020-10-12 08:27 UTC]
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.


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-10-12 08:46 UTC]
The following pull request has been associated:

Patch Name: Fix #80220: imap_mail_compose() may leak memory
On GitHub:
 [2020-10-12 09:01 UTC]
-Assigned To: +Assigned To: cmb
 [2020-10-12 11:35 UTC]
Automatic comment on behalf of
Log: Fix #80220: imap_mail_compose() may leak memory
 [2020-10-12 11:35 UTC]
-Status: Assigned +Status: Closed
 [2020-10-20 11:37 UTC]
Automatic comment on behalf of
Log: Properly fix #80220
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Apr 18 06:01:23 2021 UTC