dovecot-2.0: auth: Fixed SASL authentication broken by recent ch...

dovecot at dovecot.org dovecot at dovecot.org
Thu Apr 8 04:53:38 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/23e87e78c66e
changeset: 11119:23e87e78c66e
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Apr 08 04:53:36 2010 +0300
description:
auth: Fixed SASL authentication broken by recent changes.

diffstat:

 src/auth/auth-request-handler.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a0d0ed6a2b63 -r 23e87e78c66e src/auth/auth-request-handler.c
--- a/src/auth/auth-request-handler.c	Thu Apr 08 04:50:50 2010 +0300
+++ b/src/auth/auth-request-handler.c	Thu Apr 08 04:53:36 2010 +0300
@@ -426,7 +426,7 @@
 	unsigned int id;
 
 	data = strchr(args, '\t');
-	if (data == NULL || str_to_uint(args, &id) < 0) {
+	if (data == NULL || str_to_uint(t_strdup_until(args, data), &id) < 0) {
 		i_error("BUG: Authentication client sent broken CONT request");
 		return FALSE;
 	}


More information about the dovecot-cvs mailing list