php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6452 imap_uid sig aborts apache on bad msg id
Submitted: 2000-08-30 19:53 UTC Modified: 2000-09-11 21:49 UTC
From: mzajonc at pomona dot edu Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0.2 OS: Linux 2.2.13
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: mzajonc at pomona dot edu
New email:
PHP Version: OS:

 

 [2000-08-30 19:53 UTC] mzajonc at pomona dot edu
This is a minor bug but since it causes apache itself to have problems I think it warrants a note.

imap_uid($mbox, $msgid) when $mbox is an empty box and $msgid is 1 will cause apache to issue an error like

child pid 767 exit signal Aborted (6)

I assume this happens every time your msgid is above the number of messages actually in the mbox.  Of course one should make sure not to ever have this happen in you php code.  Then again a signal Aborted apache process seems a bit of an overkill for a out of range error.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-11 21:49 UTC] chagenbu@php.net
fixed in cvs.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 09:01:29 2024 UTC