php.net |  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
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: cmb@php.net Assigned: cmb (profile)
Status: Closed Package: IMAP related
PHP Version: 7.3Git-2020-10-12 (Git) OS: *
Private report: No CVE-ID: None
 [2020-10-12 08:27 UTC] 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.


Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-10-12 08:46 UTC] 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 09:01 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2020-10-12 11:35 UTC] cmb@php.net
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
 [2020-10-12 11:35 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 [2020-10-20 11:37 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7f3bdda29bf7123f1f2841c5483e30b5b22981ce
Log: Properly fix #80220
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 09:01:32 2024 UTC