The following issue has been RESOLVED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=530 
====================================================================== 
Reported By:                stsch
Assigned To:                paul
====================================================================== 
Project:                    DBMail
Issue ID:                   530
Category:                   POP3 daemon
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
target:                      
Resolution:                 fixed
Fixed in Version:           2.2.5
====================================================================== 
Date Submitted:             13-Mar-07 00:30 CET
Last Modified:              13-Mar-07 09:39 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"
====================================================================== 

---------------------------------------------------------------------- 
 paul - 13-Mar-07 09:39  
---------------------------------------------------------------------- 
patch accepted. thanks. 

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                     
13-Mar-07 09:39 paul           Note Added: 0001892                          
13-Mar-07 09:39 paul           Assigned To               => paul            
13-Mar-07 09:39 paul           Status                   new => resolved     
13-Mar-07 09:39 paul           Resolution               open => fixed       
13-Mar-07 09:39 paul           Fixed in Version          => 2.2.5           
======================================================================

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to