#35669 [Opn->Fbk]: imap_mail_compose() = segmentation violation
| From: | sniper@php.net | Date: | Wed, 14 Dec 2005 17:00:41 +0000 |
| Subject: | #35669 [Opn->Fbk]: imap_mail_compose() = segmentation violation | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90434@lists.php.net to get a copy of this message | ||
ID: 35669
Updated by: sniper@php.net
Reported By: hans at lintoo dot dk
-Status: Open
+Status: Feedback
Bug Type: IMAP related
Operating System: FreeBSD 5.4 + FreeBSD 6
PHP Version: 5.1.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-12-14 17:58:45] hans at lintoo dot dk
Description:
------------
While logicaliy problematic, trying to create a
multipart-multiboundary-email, will result in a signal-11 (segmentation
violation).
I feel that any signal 11 should be a bug, so could you please in a
future release throw an exception, or add to your documentation that
this is a known bug.
See the code:
http://lintoo.dk/public/crashme.phps
if you add two multiparts to a body array, and then run
imap_mail_compose it will crash horribly.
This should be very easy to reproduce, so I did not reconfigure PHP to
run with debug. Hopefully you will run it yourself, or don't need a
backtrace
This bug is similar to earlier bugs, but to the best of my knowledge it
is different, and at least not fixed in PHP 5.1.1
Reproduce code:
---------------
http://lintoo.dk/public/crashme.phps
Expected result:
----------------
An email or exception
Actual result:
--------------
Signal 11 - segmentation violation
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35669&edit=1