PHP 4.0 Bug #6452: imap_uid sig aborts apache on bad msg id

From: Date: Wed, 30 Aug 2000 23:53:50 +0000
Subject: PHP 4.0 Bug #6452: imap_uid sig aborts apache on bad msg id
Groups: php.dev 
Request: Send a blank email to php-dev+get-31362@lists.php.net to get a copy of this message
From: mzajonc@pomona.edu Operating system: Linux 2.2.13 PHP version: 4.0.2 PHP Bug Type: IMAP related Bug description: imap_uid sig aborts apache on bad msg id 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.

« previous php.dev (#31362) next »