The following bug has been CLOSED ====================================================================== 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: closed ====================================================================== Date Submitted: 10-Jan-05 17:13 CET Last Modified: 19-May-05 14:21 CEST ====================================================================== 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 ====================================================================== ---------------------------------------------------------------------- paul - 10-Jan-05 19:15 CET ---------------------------------------------------------------------- This was fixed last friday or so. Part of the fixes for bug http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000091. So I'm cancelling this report. Still, thanks for looking into this. Bug History Date Modified Username Field Change ====================================================================== 10-Jan-05 17:13boersmic New Bug 10-Jan-05 17:13boersmic File Added: imapcommands.patch 10-Jan-05 19:15paul Bugnote Added: 0000496 10-Jan-05 19:15paul duplicate_id 0 => 91 10-Jan-05 19:15paul Resolution open => duplicate 10-Jan-05 19:15paul Status new => resolved 19-May-05 14:21paul Status resolved => closed ======================================================================