|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2020-10-15 17:22 UTC] cmb@php.net
-Assigned To:
+Assigned To: cmb
[2020-10-16 12:12 UTC] cmb@php.net
[2020-10-20 17:03 UTC] cmb@php.net
[2020-10-20 17:03 UTC] cmb@php.net
-Status: Assigned
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 13:00:01 2025 UTC |
Description: ------------ When imap_mail_compose() is used to compose a multipart message with one or more message/rfc822 parts where the subtype is explicitly specified, the function segfaults. Note that composing a multipart message with one or more message/rfc822 where the subtype is not explicitly specified does not segfault, due to the way this is handled by lib-client (2007). Test script: --------------- <?php $bodies = [[ 'type' => TYPEMULTIPART, ], [ 'type' => TYPETEXT, 'contents.data' => 'some text', ], [ 'type' => TYPEMESSAGE, 'subtype' => 'RFC822', ]]; imap_mail_compose([], $bodies); echo "done\n"; ?> Expected result: ---------------- done Actual result: -------------- segfault