Fix for bug nr. 3945
| From: | David Hjortsø | Date: | Tue, 04 Apr 2000 15:09:10 +0000 |
| Subject: | Fix for bug nr. 3945 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13090@lists.php.net to get a copy of this message | ||
Hi,
The fix for this bug is to replace line nr. 1570
if (mail_fetchstructure(imap_le_struct->imap_stream, msgno->value.lval,
NIL)) {
with
if(msgno->value.lval && msgno->value.lval <=
imap_le_struct->imap_stream->nmsgs && mail_fetchstructure
(imap_le_struct->imap_stream,msgno->value.lval,NIL)) {
Kind Regards,
David Hjortsø,
Deus ex Machina.
------------------------------
Deus ex Machina
Frederiksberggade 26, 4. sal
DK-1459 København K.
Tlf: +45 33 17 92 92
Fax: +45 33 17 92 99
E-mail: david@deus.dk
Web: http://www.deus.dk
------------------------------