[dovecot-cvs] dovecot/src/lib-auth auth-server-request.c,1.18,1.19
cras at dovecot.org
cras at dovecot.org
Thu Dec 16 00:22:48 EET 2004
Update of /var/lib/cvs/dovecot/src/lib-auth
In directory talvi:/tmp/cvs-serv27702/lib-auth
Modified Files:
auth-server-request.c
Log Message:
Crashfix
Index: auth-server-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-auth/auth-server-request.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- auth-server-request.c 19 Oct 2004 02:51:37 -0000 1.18
+++ auth-server-request.c 15 Dec 2004 22:22:45 -0000 1.19
@@ -50,7 +50,7 @@
static void
auth_server_request_check_retry(struct auth_request *request, const char *data)
{
- if (strcmp(request->mech, "PLAIN") == 0 &&
+ if (strcmp(request->mech, "PLAIN") == 0 && data != NULL &&
request->plaintext_data == NULL && request->conn != NULL) {
request->next_conn = get_next_plain_server(request->conn);
if (request->next_conn != NULL) {
More information about the dovecot-cvs
mailing list