Bug #54406 [Opn->Fbk]: imap_header crashes when too may To: addresses exist
| From: | felipe@php.net | Date: | Sat, 02 Apr 2011 17:07:52 +0000 |
| Subject: | Bug #54406 [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-159915@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54406&edit=1
ID: 54406
Updated by: felipe@php.net
Reported by: lucius dot tran at mbizglobal dot vn
Summary: imap_header crashes when too may To: addresses exist
-Status: Open
+Status: Feedback
Type: Bug
Package: IMAP related
Operating System: CentOS 64-bit
PHP Version: 5.3.6
Block user comment: N
Private report: 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:
------------------------------------------------------------------------
[2011-03-28 09:40:46] lucius dot tran at mbizglobal dot vn
Description:
------------
Seems that bug http://bugs.php.net/19280 &
http://bugs.php.net/bug.php?id=53292 is happening
again.
When I try to read a mail message with a long list of To: addresses PHP
crashes every time.
System Infomation:
OS: CentOS 2.6.18 64-bit
PHP: 5.3.6
Apache: 2.2.3
C-Client: 2.2.1
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 crashed at imap_header()
No error found in error_log
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54406&edit=1