The following issue has been SUBMITTED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=423 ====================================================================== Reported By: schwarz Assigned To: ====================================================================== Project: DBMail Issue ID: 423 Category: IMAP daemon Reproducibility: always Severity: major Priority: normal Status: new target: ====================================================================== Date Submitted: 06-Oct-06 16:33 CEST Last Modified: 06-Oct-06 16:33 CEST ====================================================================== Summary: IMAP Search find non-matching mails or crashes with seg-fault Description: Symptoms: - the body search lists entries which do not match the specified search string - the IMAP daemons dies during the search (causes Thunderbird to go into an endless loop)
The problem: - the search loop in dbsearch.c doesn't check if the search string is longer than the message block - the search loop in dbsearch.c for multiple blocks uses the wrong index I've attached a patch that fixes the problem. Please check this into your subversion branch for 2.0. Thanks, Chris ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 06-Oct-06 16:33 schwarz New Issue 06-Oct-06 16:33 schwarz File Added: cs-dbsearch.c.diff ======================================================================
