#47373 [Fbk->Csd]: imap_headerinfo crash from field
| From: | joao dot alfredo at gmail dot com | Date: | Wed, 18 Feb 2009 20:28:35 +0000 |
| Subject: | #47373 [Fbk->Csd]: imap_headerinfo crash from field | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-133974@lists.php.net to get a copy of this message | ||
ID: 47373
User updated by: joao dot alfredo at gmail dot com
Reported By: joao dot alfredo at gmail dot com
-Status: Feedback
+Status: Closed
Bug Type: IMAP related
Operating System: ubuntu 8.10
PHP Version: 5.2CVS-2009-02-12 (CVS)
New Comment:
Sorry Guys,
this bug is related only with ubuntu packages. (php 5.2.6-2ubuntu4.1)
Compiling versions 5.2.5, 5.2.6 and 5.2.8 from the source works fine.
Thanks
Previous Comments:
------------------------------------------------------------------------
[2009-02-13 21:20:48] 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.
------------------------------------------------------------------------
[2009-02-13 12:55:32] joao dot alfredo at gmail dot com
Cyrus IMAP4 v2.2.13-Debian-2.2.13-14ubuntu2.
Thanks.
------------------------------------------------------------------------
[2009-02-12 20:00:43] pajoye@php.net
Which imap version do you use?
------------------------------------------------------------------------
[2009-02-12 19:44:23] joao dot alfredo at gmail dot com
Description:
------------
imap_headerinfo crash on trying get the header of a message with a
huge(100Kb) FROM field.
Reproduce code:
---------------
$header = imap_headerinfo($connection, 20);
Expected result:
----------------
Warning: imap_headerinfo(): To length must be less than or equal to %d
bytes
bool(false)
Actual result:
--------------
PHP Crash
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47373&edit=1