dovecot-2.1-pigeonhole: ManageSieve: fixed handling of unkown co...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Thu Oct 11 23:07:59 EEST 2012


details:   http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/ceef02768dee
changeset: 1658:ceef02768dee
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Thu Oct 11 22:07:50 2012 +0200
description:
ManageSieve: fixed handling of unkown commands pre-login.
Forgot to skip line upon error.

diffstat:

 src/managesieve-login/client.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 5c1ce25596ed -r ceef02768dee src/managesieve-login/client.c
--- a/src/managesieve-login/client.c	Thu Oct 11 20:26:03 2012 +0200
+++ b/src/managesieve-login/client.c	Thu Oct 11 22:07:50 2012 +0200
@@ -195,6 +195,8 @@
 
 		if ( cmd->name != NULL )
 			client->cmd = cmd;
+		else
+			client->skip_line = TRUE;
 	}
 
 	if ( client->cmd != NULL && !client->cmd_parsed_args ) {


More information about the dovecot-cvs mailing list