The following issue has been RESOLVED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=423 
====================================================================== 
Reported By:                schwarz
Assigned To:                aaron
====================================================================== 
Project:                    DBMail
Issue ID:                   423
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
target:                      
Resolution:                 fixed
Fixed in Version:           2.0 branch
====================================================================== 
Date Submitted:             06-Oct-06 16:33 CEST
Last Modified:              06-Oct-06 18:20 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
====================================================================== 

---------------------------------------------------------------------- 
 aaron - 06-Oct-06 18:20  
---------------------------------------------------------------------- 
Patch accepted, thanks! 

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                   

06-Oct-06 16:33 schwarz        Issue Monitored: schwarz                     
06-Oct-06 18:20 aaron          Status                   new => resolved     
06-Oct-06 18:20 aaron          Fixed in Version          => 2.0 branch      
06-Oct-06 18:20 aaron          Resolution               open => fixed       
06-Oct-06 18:20 aaron          Assigned To               => aaron           
06-Oct-06 18:20 aaron          Note Added: 0001475                          
======================================================================

Reply via email to