#47373 [Fbk->Opn]: imap_headerinfo crash from field
ID: 47373
User updated by: joao dot alfredo at gmail dot com
Reported By: joao dot alfredo at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: IMAP related
Operating System: ubuntu 8.10
PHP Version: 5.2CVS-2009-02-12 (CVS)
New Comment:
Cyrus IMAP4 v2.2.13-Debian-2.2.13-14ubuntu2.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[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
Thread (5 messages)