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

From: Date: Sat, 09 Sep 2000 20:28:46 +0000
Subject: Re: PHP 4.0 Bug #6452: imap_uid sig aborts apache on bad msg id
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-32776@lists.php.net to get a copy of this message
I've fixed this in php4 cvs, but I can't close the bug because there's no place to enter my username... Quoting mzajonc@pomona.edu <mzajonc@pomona.edu>: > 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. > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -chuck -- Charles Hagenbuch, <chuck@horde.org> -- "look at how many toes i have!" - Amy

« previous php.dev (#32776) next »