The following bug has been SUBMITTED. ====================================================================== http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000150 ====================================================================== Reported By: boersmic Assigned To: ====================================================================== Project: DBMail Bug ID: 150 Category: IMAP daemon Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 10-Jan-05 17:13 CET Last Modified: 10-Jan-05 17:13 CET ====================================================================== Summary: Another possible cause of inifinit loops Description: I noticed that in _ic_search in imapcommands.c the variable "i" is used as both a try counter and an inner loop counter. This causes the value of "i" as a try counter to get trashed. The try counter is only used when the mailbox has a synchronization error.
Attached is a patch that renames the variable "i" to trycounter ====================================================================== Bug History Date Modified Username Field Change ====================================================================== 10-Jan-05 17:13boersmic New Bug 10-Jan-05 17:13boersmic File Added: imapcommands.patch ======================================================================
