Mercurial > dovecot > core-2.2
changeset 11542:05700fe85e22 HEAD
login: Fixed crash with service_count=1 and when reaching max number of connections from user+ip.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 14 Jun 2010 16:15:57 +0100 |
parents | 07a7d352af66 |
children | 356afa6263d4 |
files | src/login-common/sasl-server.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/login-common/sasl-server.c Mon Jun 14 16:07:44 2010 +0100 +++ b/src/login-common/sasl-server.c Mon Jun 14 16:15:57 2010 +0100 @@ -151,11 +151,11 @@ master_send_request(req); else { client->authenticating = FALSE; + auth_client_send_cancel(auth_client, req->auth_id); errmsg = t_strdup_printf(ERR_TOO_MANY_USERIP_CONNECTIONS, set->mail_max_userip_connections); call_client_callback(client, SASL_SERVER_REPLY_MASTER_FAILED, errmsg, NULL); - auth_client_send_cancel(auth_client, req->auth_id); } i_free(req); }