[dovecot-cvs] dovecot/src/auth userdb-blocking.c,1.6,1.7

tss at dovecot.org tss at dovecot.org
Sun Jan 7 07:24:35 UTC 2007


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv10372

Modified Files:
	userdb-blocking.c 
Log Message:
We sent extra "OK" to master, causing it to think it was the username.


Index: userdb-blocking.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/userdb-blocking.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- userdb-blocking.c	9 Dec 2006 15:11:48 -0000	1.6
+++ userdb-blocking.c	7 Jan 2007 07:24:33 -0000	1.7
@@ -20,7 +20,7 @@
 	else if (strncmp(reply, "OK\t", 3) == 0) {
 		result = USERDB_RESULT_OK;
 		stream_reply = auth_stream_reply_init(request);
-		auth_stream_reply_import(stream_reply, reply);
+		auth_stream_reply_import(stream_reply, reply + 3);
 	} else {
 		result = USERDB_RESULT_INTERNAL_FAILURE;
 		i_error("BUG: auth-worker sent invalid user reply");



More information about the dovecot-cvs mailing list