[dovecot-cvs] dovecot/src/auth userdb-blocking.c,1.5.2.1,1.5.2.2
tss at dovecot.org
tss at dovecot.org
Sun Jan 7 07:24:33 UTC 2007
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv10376
Modified Files:
Tag: branch_1_0
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.5.2.1
retrieving revision 1.5.2.2
diff -u -d -r1.5.2.1 -r1.5.2.2
--- userdb-blocking.c 9 Dec 2006 15:11:33 -0000 1.5.2.1
+++ userdb-blocking.c 7 Jan 2007 07:24:31 -0000 1.5.2.2
@@ -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