ID:               47373
 Updated by:       fel...@php.net
 Reported By:      joao dot alfredo at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         IMAP related
 Operating System: ubuntu 8.10
 PHP Version:      5.2CVS-2009-02-12 (CVS)
 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:
------------------------------------------------------------------------

[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] paj...@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

Reply via email to