#23304 [Opn->Bgs]: imap_fetchbody crash

From: Date: Wed, 23 Apr 2003 02:19:40 +0000
Subject: #23304 [Opn->Bgs]: imap_fetchbody crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38108@lists.php.net to get a copy of this message
ID: 23304 Updated by: iliaa@php.net Reported By: cwl_999 at hotmail dot com -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: NT4 SP6a PHP Version: 4CVS-2003-04-22 (stable) New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. PHP replies on the output of the mail_fetchbody_full() function, which is part of the client library. Therefor there is nothing php can do if that function does crash. Previous Comments: ------------------------------------------------------------------------ [2003-04-22 05:23:55] cwl_999 at hotmail dot com The following code produces an abnormal program termination. The imap_fetchbody has deliberately been written to access a message that doesn't exist (e.g. when someone else is modifying the mailbox). I s'pect the expected behaviour should be a catchable warning. <? if ($mbox = @imap_open ("{10.5.0.4:110/pop3}INBOX", "***", "***")) { imap_fetchheader($mbox, 1); imap_fetchbody($mbox, 3, "1"); } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23304&edit=1

« previous php.bugs (#38108) next »