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

From: Date: Fri, 11 May 2001 23:45:08 +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-54922@lists.php.net to get a copy of this message
ID: 10260 Updated by: sniper Reported By: danbeck@dealnews.com Old-Status: Duplicate Status: Closed Old-Bug Type: Reproducible Crash Bug Type: IMAP related Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: Fixed in PHP 4.0.5 --Jani Previous Comments: --------------------------------------------------------------------------- [2001-04-23 14:53:59] chagenbu@php.net duplicate of 9908 --------------------------------------------------------------------------- [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 (#54922) next »