Mercurial > dovecot > original-hg > dovecot-1.2
changeset 4256:cfe9e58be252 HEAD
If authentication client does something bad, don't crash the whole process
(clean NULL-pointer-write crash).
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 05 May 2006 18:07:04 +0300 |
parents | 4f742c7f7948 |
children | d5381941feea |
files | src/auth/auth-client-connection.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/auth-client-connection.c Fri May 05 17:53:34 2006 +0300 +++ b/src/auth/auth-client-connection.c Fri May 05 18:07:04 2006 +0300 @@ -247,7 +247,8 @@ t_pop(); if (!ret) { - auth_client_connection_destroy(&conn); + struct auth_client_connection *tmp_conn = conn; + auth_client_connection_destroy(&tmp_conn); break; } }