summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-10-16 11:58:50 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-10-20 13:32:53 +0200
commit7f3bdda29bf7123f1f2841c5483e30b5b22981ce (patch)
tree28d5a2d97516e613f86af002df208eed81b25d36 /NEWS
parent7b5f232b0366ec85933ebd9230c6052494f43c63 (diff)
downloadphp-git-7f3bdda29bf7123f1f2841c5483e30b5b22981ce.tar.gz
Properly fix #80220
The original fix for that bug[1] broke the formerly working composition of message/rfc822 messages, which results in a segfault when freeing the message body now. While `imap_mail_compose()` does not really support composition of meaningful message/rfc822 messages (although libc-client appears to support that), some code may still use this to compose partial messages, and using string manipulation to create the final message. The point is that libc-client expects `TYPEMESSAGE` with an explicit subtype of `RFC822` to have a `nested.msg` (otherwise there will be a segfault during free), but not to have any `contents.text.data` (this will leak otherwise). [1] <http://git.php.net/?p=php-src.git;a=commit;h=0d022ddf03c5fabaaa22e486d1e4a367ed9170a7> Closes GH-6343.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 42b663cf40..05d3b73b86 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ PHP NEWS
- IMAP:
. Fixed bug #64076 (imap_sort() does not return FALSE on failure). (cmb)
. Fixed bug #80239 (imap_rfc822_write_address() leaks memory). (cmb)
+ . Fixed minor regression caused by fixing bug #80220. (cmb)
29 Oct 2020, PHP 7.3.24