php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10260 imap_sort segaults if no mail is in the user's mailbox
Submitted: 2001-04-10 10:48 UTC Modified: 2001-05-11 19:45 UTC
From: danbeck at dealnews dot com Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0.4pl1 OS: linux 2.2.16
Private report: No CVE-ID: None
 [2001-04-10 10:48 UTC] danbeck at dealnews dot 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)



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-23 14:53 UTC] chagenbu@php.net
duplicate of 9908
 [2001-05-11 19:45 UTC] sniper@php.net
Fixed in PHP 4.0.5

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 15:01:31 2024 UTC