#23257 [Fbk->Opn]: imap_fetchstructure crash

From: Date: Tue, 22 Apr 2003 07:18:40 +0000
Subject: #23257 [Fbk->Opn]: imap_fetchstructure crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38044@lists.php.net to get a copy of this message
ID: 23257 User updated by: cwl_999 at hotmail dot com Reported By: cwl_999 at hotmail dot com -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: NT4.0 SP6 PHP Version: 4.3.0 New Comment: Tried the latest stable, same problem. To my understanding, deleting and expunging message 1 should move all messages upwards (to fill the empty space) allowing me to reapeat the operations with the new message 1. I've treid incrementing the message number, but this causes the routine to miss every other message. Previous Comments: ------------------------------------------------------------------------ [2003-04-18 11:51:37] magnus@php.net 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#38044) next »