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
 [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 Mar 28 12:01:27 2024 UTC