#19685 [Opn->Bgs]: apache crash on imap_rfc822_parse_headers
| From: | sniper@php.net | Date: | Tue, 01 Oct 2002 10:36:35 +0000 |
| Subject: | #19685 [Opn->Bgs]: apache crash on imap_rfc822_parse_headers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20904@lists.php.net to get a copy of this message | ||
ID: 19685
Updated by: sniper@php.net
Reported By: sundaydriver@hushmail.com
-Status: Open
+Status: Bogus
Bug Type: IMAP related
Operating System: FreeBSD 4.5-RELEASE
PHP Version: 4.2.0
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-10-01 04:36:07] sundaydriver@hushmail.com
Code that caused crash:
$msg = imap_fetchheader($imap_stream, $message_id);
$headers = imap_rfc822_parse_headers($msg);
I believe it is cause by a long recipient list (To field) wrapped many
times with a final address that looks like:
user@juno.com (Blah Blah))))
Looks like the extra parentheses (which have no previous matching
parentheses) cause the crash.
If the user grants us permission, I'll update this report to include
the entire message.
Regards,
Brian Smith
VP, Engineering
Hush Communications Corporation
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19685&edit=1