#47373 [Opn->Fbk]: imap_headerinfo crash from field

From: Date: Thu, 12 Feb 2009 20:00:44 +0000
Subject: #47373 [Opn->Fbk]: imap_headerinfo crash from field
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-133775@lists.php.net to get a copy of this message
ID: 47373 Updated by: pajoye@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: Which imap version do you use? Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#133775) next »