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

From: Date: Tue, 12 Sep 2000 01:49:16 +0000
Subject: PHP 4.0 Bug #6452 Updated: imap_uid sig aborts apache on bad msg id
Groups: php.dev 
Request: Send a blank email to php-dev+get-32910@lists.php.net to get a copy of this message
ID: 6452 Updated by: chagenbu Reported By: mzajonc@pomona.edu Status: Closed Bug Type: IMAP related Assigned To: Comments: fixed in cvs. Previous Comments: --------------------------------------------------------------------------- [2000-08-30 19:53:50] mzajonc@pomona.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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6452

« previous php.dev (#32910) next »