Bug #53292 [Opn->Fbk]: imap_header crashes when too may To: addresses exist

From: Date: Wed, 10 Nov 2010 23:10:10 +0000
Subject: Bug #53292 [Opn->Fbk]: imap_header crashes when too may To: addresses exist
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-155931@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53292&edit=1

 ID:                 53292
 Updated by:         cataphract@php.net
 Reported by:        mmitchell at riccagroup dot com
 Summary:            imap_header crashes when too may To: addresses exist
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            IMAP related
 Operating System:   Windows
 PHP Version:        5.2.14
 Block user comment: N

 New Comment:

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
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32

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.




Previous Comments:
------------------------------------------------------------------------
[2010-11-10 23:40:50] mmitchell at riccagroup dot com

Description:
------------
Seems that bug http://bugs.php.net/19280 is happening again.

When I try to read a mail message with a long list of To: addresses PHP
crashes every time. The email I have issues with has a 168 "To:"
addresses in it. 

Test script:
---------------
$mbox = imap_open($imapLocation.'INBOX', $user, $pass);
$headerInfo = imap_header($mbox, $mailID);
// Above will crash if the message being read has too many To: addresses



Expected result:
----------------
Should not crash, should parse as many To: addresses as possible

Actual result:
--------------
PHP exists with a status other then zero. This status changes each time
the script crashes.

Windows error log shows 

Faulting application php.exe, version 5.2.13.13, faulting module
php_imap.dll, version 5.2.13.13, fault address 0x00046144.



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53292&edit=1


Thread (10 messages)

« previous php.bugs (#155931) next »