#23304 [NEW]: imap_fetchbody crash

From: Date: Tue, 22 Apr 2003 10:23:56 +0000
Subject: #23304 [NEW]: imap_fetchbody crash
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38060@lists.php.net to get a copy of this message
From: cwl_999 at hotmail dot com Operating system: NT4 SP6a PHP version: 4CVS-2003-04-22 (stable) PHP Bug Type: Reproducible crash Bug description: imap_fetchbody crash 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 bug report at http://bugs.php.net/?id=23304&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23304&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23304&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23304&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23304&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23304&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23304&r=support Expected behavior: http://bugs.php.net/fix.php?id=23304&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23304&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23304&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23304&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23304&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23304&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23304&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23304&r=gnused

« previous php.bugs (#38060) next »