#23257 [Opn->Fbk]: imap_fetchstructure crash
| From: | magnus@php.net | Date: | Fri, 18 Apr 2003 16:51:38 +0000 |
| Subject: | #23257 [Opn->Fbk]: imap_fetchstructure crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37860@lists.php.net to get a copy of this message | ||
ID: 23257
Updated by: magnus@php.net
Reported By: cwl_999 at hotmail dot com
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: NT4.0 SP6
PHP Version: 4.3.0
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-04-17 05:55:08] cwl_999 at hotmail dot com
The following code causes PHP to freeze on the second
imap_fetchstructure call even though there are more messages in the
mailbox.
<?
phpinfo();
if ($mbox = @imap_open ("{10.5.0.4:110/pop3}INBOX", "asd", "asd"))
{
echo "LL";
imap_fetchstructure($mbox, 1);
echo "KK";
imap_delete($mbox, 1);
echo "JJ";
imap_expunge($mbox);
echo "HH";
imap_fetchstructure($mbox, 1);
echo "GG";
}
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23257&edit=1