dovecot-2.2-pigeonhole: managesieve-login: Fixed handling of inv...
    pigeonhole at rename-it.nl 
    pigeonhole at rename-it.nl
       
    Sun Oct 19 11:37:48 UTC 2014
    
    
  
details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/02332881adc6
changeset: 1932:02332881adc6
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sun Oct 19 13:37:38 2014 +0200
description:
managesieve-login: Fixed handling of invalid initial response argument to AUTHENTICATE command.
diffstat:
 src/managesieve-login/client-authenticate.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r ea047cff5763 -r 02332881adc6 src/managesieve-login/client-authenticate.c
--- a/src/managesieve-login/client-authenticate.c	Sun Oct 19 13:36:57 2014 +0200
+++ b/src/managesieve-login/client-authenticate.c	Sun Oct 19 13:37:38 2014 +0200
@@ -304,8 +304,10 @@
 	msieve_client->skip_line = FALSE;
 	if ( (ret=managesieve_client_auth_read_response(msieve_client, TRUE, &error))
 		< 0 ) {
-		if ( error != NULL )
+		if ( error != NULL ) {
+			msieve_client->auth_mech_name_parsed = FALSE;
 			client_send_no(client, error);
+		}
 		return 1;
 	}
 
    
    
More information about the dovecot-cvs
mailing list