The following issue has been SUBMITTED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=530 ====================================================================== Reported By: stsch Assigned To: ====================================================================== Project: DBMail Issue ID: 530 Category: POP3 daemon Reproducibility: always Severity: minor Priority: normal Status: new target: ====================================================================== Date Submitted: 13-Mar-07 00:30 CET Last Modified: 13-Mar-07 00:30 CET ====================================================================== Summary: When in "UPDATE" state, the return value of db_update_pop(PopSession_t * session_ptr) is not checked Description: When getting into the "UPDATE" state of a POP3 session the function db_update_pop(PopSession_t * session_ptr) will be called. But the return value of db_update_pop is never checked, which means that the client always gets an "+OK ..." - even when something weird happens and db_update_pop returns DM_EQUERY.
The uploaded patch adds the appropriate check and in the case of a return value other than DM_SUCCESS, send an "-ERR ..." response to the client. This should also be ok with RFC1939 "6. The UPDATE State" ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 13-Mar-07 00:30 stsch New Issue 13-Mar-07 00:30 stsch File Added: pop3_c.patch ====================================================================== _______________________________________________ Dbmail-dev mailing list [email protected] http://twister.fastxs.net/mailman/listinfo/dbmail-dev
