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

From: Date: Tue, 10 Apr 2001 14:48:15 +0000
Subject: PHP 4.0 Bug #10260: imap_sort segaults if no mail is in the user's mailbox
Groups: php.dev 
Request: Send a blank email to php-dev+get-51340@lists.php.net to get a copy of this message
From: danbeck@dealnews.com Operating system: linux 2.2.16 PHP version: 4.0.4pl1 PHP Bug Type: Reproduceable crash Bug description: imap_sort segaults if no mail is in the user's mailbox 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) -- Edit Bug report at: http://bugs.php.net/?id=10260&edit=1

« previous php.dev (#51340) next »