php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54406 imap_header crashes when too may To: addresses exist
Submitted: 2011-03-28 09:40 UTC Modified: 2013-02-18 00:34 UTC
From: lucius dot tran at mbizglobal dot vn Assigned:
Status: No Feedback Package: IMAP related
PHP Version: 5.3.6 OS: CentOS 64-bit
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lucius dot tran at mbizglobal dot vn
New email:
PHP Version: OS:

 

 [2011-03-28 09:40 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-02 19:07 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2011-04-02 19:07 UTC] felipe@php.net
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.


 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 17:01:30 2024 UTC