Bug #10260 Updated: imap_sort segaults if no mail is in the user's mailbox

From: Date: Mon, 23 Apr 2001 18:53:59 +0000
Subject: Bug #10260 Updated: imap_sort segaults if no mail is in the user's mailbox
Groups: php.dev 
Request: Send a blank email to php-dev+get-52222@lists.php.net to get a copy of this message
ID: 10260 Updated by: chagenbu Reported By: danbeck@dealnews.com Old-Status: Open Status: Duplicate Bug Type: Reproduceable crash PHP Version: 4.0.4pl1 Assigned To: Comments: duplicate of 9908 Previous Comments: --------------------------------------------------------------------------- [2001-04-10 10:48:15] danbeck@dealnews.com The following code causes a segfault if there is no mail in the user's mailbox: $mbox = imap_open("{localhost:143}INBOX", "user", "pass"); $arr = imap_sort($mbox, SORTARRIVAL, 0, SE_UID) --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10260&edit=2

« previous php.dev (#52222) next »