A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=789 
====================================================================== 
Reported By:                jasb
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   789
Category:                   IMAP daemon
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             21-Jul-09 23:51 CEST
Last Modified:              23-Jul-09 16:30 CEST
====================================================================== 
Summary:                    dbmail-imapd crash with invalid pointer reason
Description: 
Hi,
After this commit on GIT HEAD:

http://git.dbmail.eu/cgit/cgit.cgi/paul/dbmail/commit/?id=02b0fe06c4947fb50bdcbe3ac39661006f78aa07

imapd crashes with invalid pointer on this.

Attached there's the GDB trace for this.

====================================================================== 

---------------------------------------------------------------------- 
 (0002837) waza123 (reporter) - 22-Jul-09 14:02
 http://www.dbmail.org/mantis/view.php?id=789#c2837 
---------------------------------------------------------------------- 
i have many crashes in all sectors.

dbmail-imapd
dbmail-pop3d
dbmail-lmtpd

v2.3.6 

---------------------------------------------------------------------- 
 (0002838) pschmiel (reporter) - 23-Jul-09 12:55
 http://www.dbmail.org/mantis/view.php?id=789#c2838 
---------------------------------------------------------------------- 
I have the same problem with a crashing imapd. Backtrace is attached. 

---------------------------------------------------------------------- 
 (0002839) pschmiel (reporter) - 23-Jul-09 16:30
 http://www.dbmail.org/mantis/view.php?id=789#c2839 
---------------------------------------------------------------------- 
I think the following changes did the trick. No more crashes since this
modification:

                                if(D->data != NULL)
                                        g_free(D->data);
                                if(D != NULL)
                                        g_free(D); 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
21-Jul-09 23:51  jasb           New Issue                                    
21-Jul-09 23:51  jasb           File Added: imapd_invalid_pointer.txt           
        
22-Jul-09 14:02  waza123        Note Added: 0002837                          
23-Jul-09 12:55  pschmiel       File Added: backtrace.txt                    
23-Jul-09 12:55  pschmiel       Note Added: 0002838                          
23-Jul-09 13:22  pschmiel       Issue Monitored: pschmiel                    
23-Jul-09 16:30  pschmiel       Note Added: 0002839                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to