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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: danbeck at dealnews dot com
New email:
PHP Version: OS:

 

 [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 08:01:30 2024 UTC