The following bug has been RESOLVED. ====================================================================== http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000223 ====================================================================== Reported By: tmatsuo Assigned To: aaron ====================================================================== Project: DBMail Bug ID: 223 Category: POP3 daemon Reproducibility: always Severity: major Priority: normal Status: resolved Resolution: fixed ====================================================================== Date Submitted: 07-Jul-05 03:57 CEST Last Modified: 23-Jul-05 05:03 CEST ====================================================================== Summary: The pop3d daemon in dbmail-2.1.1 got signal [Segmentation fault]. Description: If you connect to dbmail-pop3d and quit before any commands, dbmail-pop3d got the signal.
I upload a patch which may fix this problem. Please review it. ====================================================================== ---------------------------------------------------------------------- tmatsuo - 07-Jul-05 11:58 CEST ---------------------------------------------------------------------- Using 'memset' to initialize the struct like bellow, this problem is fixed too. PopSession_t session; /* current connection session */ memset(&session, 0, sizeof(PopSession_t)); ---------------------------------------------------------------------- aaron - 23-Jul-05 05:03 CEST ---------------------------------------------------------------------- Fixed in SVN. Bug History Date Modified Username Field Change ====================================================================== 07-Jul-05 03:57tmatsuo New Bug 07-Jul-05 03:57tmatsuo File Added: pop3.c.diff 07-Jul-05 11:58tmatsuo Bugnote Added: 0000770 23-Jul-05 05:03aaron Bugnote Added: 0000780 23-Jul-05 05:03aaron Assigned To => aaron 23-Jul-05 05:03aaron Resolution open => fixed 23-Jul-05 05:03aaron Status new => resolved ======================================================================