#23257 [NEW]: imap_fetchstructure crash

From: Date: Thu, 17 Apr 2003 10:55:08 +0000
Subject: #23257 [NEW]: imap_fetchstructure crash
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37801@lists.php.net to get a copy of this message
From:             cwl_999 at hotmail dot com
Operating system: NT4.0 SP6
PHP version:      4.3.0
PHP Bug Type:     Reproducible crash
Bug description:  imap_fetchstructure crash

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 bug report at http://bugs.php.net/?id=23257&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23257&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23257&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23257&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23257&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23257&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23257&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23257&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23257&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23257&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23257&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23257&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23257&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23257&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23257&r=gnused



Thread (4 messages)

« previous php.bugs (#37801) next »