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

 ID:                 53292
 Updated by:         cataphr...@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

Reply via email to