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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 22:01:27 2025 UTC