ID: 19685 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: No Feedback Bug Type: IMAP related Operating System: FreeBSD 4.5-RELEASE PHP Version: 4.2.0 New Comment:
No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-10-20 23:28:33] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-10-03 07:12:56] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2002-10-02 22:03:59] [EMAIL PROTECTED] $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: [EMAIL PROTECTED] (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 Got the user's permission. Here's the message. Will update this bug after testing on most recent PHP. Message that caused crash retrieved directly from Cyrus using FETCH (rfc822) - reprinted with user's permission: Return-Path: <[EMAIL PROTECTED]> X-Sieve: cmu-sieve 2.0 Return-Path: <[EMAIL PROTECTED]> Received: from smtp2.hushmail.com (smtp2.hushmail.com [64.40.111.32]) by imap3.hushmail.com (Postfix) with ESMTP id 9CE5139416C for <[EMAIL PROTECTED]>; Thu, 29 Aug 2002 13:13:11 -0700 (PDT) Received: from imo-m05.mx.aol.com (imo-m05.mx.aol.com [64.12.136.8]) by smtp2.hushmail.com (Postfix) with ESMTP id 17E0A1A9C2 for <[EMAIL PROTECTED]>; Thu, 29 Aug 2002 13:13:09 -0700 (PDT) Received: from [EMAIL PROTECTED] by imo-m05.mx.aol.com (mail_out_v34.10.) id 9.113.168afbde (30960); Thu, 29 Aug 2002 16:03:44 -0400 (EDT) From: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Date: Thu, 29 Aug 2002 16:03:43 EDT Subject: Address Change To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] (Michele Gocio), [EMAIL PROTECTED] (Adam Goren (E-mail), [EMAIL PROTECTED] (Adam Goren), [EMAIL PROTECTED] (Ty Griffin), [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] (Nicole Hand), [EMAIL PROTECTED] (John Haney (E-mail), [EMAIL PROTECTED], [EMAIL PROTECTED] (Richard Hatheway), [EMAIL PROTECTED] (Richard Hatheway work), [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] (Ted Henry), [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] (Mary Ann), [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] (Candace Ibbotson), [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] (Jason Jensen), [EMAIL PROTECTED] (Ewart Jones), [EMAIL PROTECTED], [EMAIL PROTECTED] (Joyce Keith), [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] (Kelly Kent), [EMAIL PROTECTED] (Peter Kingsley), [EMAIL PROTECTED] (Peggie Klema), [EMAIL PROTECTED] (Karol Korte), [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] (Sandra Lawson), [EMAIL PROTECTED] (Kari Lessner (E-mail), [EMAIL PROTECTED], [EMAIL PROTECTED] (Jim Liberatore), [EMAIL PROTECTED] (Eric Liles), [EMAIL PROTECTED] (Eric Liles), [EMAIL PROTECTED] (Susan Lindstrom), [EMAIL PROTECTED], [EMAIL PROTECTED] (Nicol Loos), [EMAIL PROTECTED] (Debbie Lugo), [EMAIL PROTECTED] (Jessica Lugo), [EMAIL PROTECTED] (Marisa Lugo), [EMAIL PROTECTED], [EMAIL PROTECTED] (Kirsten Lynch), [EMAIL PROTECTED] (Mary Lynch)))) Cc: [EMAIL PROTECTED] (St Lukes EYC) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="part1_113.168afbde.2a9fd81f_boundary" X-Mailer: AOL 6.0 for Windows US sub 10572 --part1_113.168afbde.2a9fd81f_boundary Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hey Y'all! St. Luke's has changed to a high speed interent system and we have new addresses now!! So, effective immediately, please change my work address, as well as the EYC address, vberry@stlukesonthelake Thanks so much, Veta Berry PS my personal email is still [EMAIL PROTECTED] --part1_113.168afbde.2a9fd81f_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: 7bit <HTML><FONT FACE=arial,helvetica><FONT SIZE=2>Hey Y'all! <BR> <BR>St. Luke's has changed to a high speed interent system and we have new addresses now!! So, effective immediately, please change my work address, as well as the EYC address, vberry@stlukesonthelake <BR> <BR>Thanks so much, <BR> <BR>Veta Berry <BR> <BR>PS my personal email is still [EMAIL PROTECTED]</FONT></HTML> --part1_113.168afbde.2a9fd81f_boundary-- ------------------------------------------------------------------------ [2002-10-01 05:36:35] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2002-10-01 04:36:07] [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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
