From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.5-RELEASE
PHP version:      4.2.0
PHP Bug Type:     IMAP related
Bug description:  apache crash on imap_rfc822_parse_headers

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 bug report at http://bugs.php.net/?id=19685&edit=1
-- 
Try a CVS snapshot:  http://bugs.php.net/fix.php?id=19685&r=trysnapshot
Fixed in CVS:        http://bugs.php.net/fix.php?id=19685&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=19685&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=19685&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=19685&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19685&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=19685&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=19685&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=19685&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=19685&r=globals

Reply via email to