dovecot-2.0: auth: Don't leak memory if auth client sends a bugg...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Feb 19 04:28:10 EET 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/fa8a0f453774
changeset: 10758:fa8a0f453774
user: Timo Sirainen <tss at iki.fi>
date: Fri Feb 19 04:28:07 2010 +0200
description:
auth: Don't leak memory if auth client sends a buggy request.
diffstat:
src/auth/auth-request-handler.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r d3697efd18f3 -r fa8a0f453774 src/auth/auth-request-handler.c
--- a/src/auth/auth-request-handler.c Fri Feb 19 04:20:25 2010 +0200
+++ b/src/auth/auth-request-handler.c Fri Feb 19 04:28:07 2010 +0200
@@ -366,6 +366,7 @@
i_error("BUG: Authentication client %u "
"sent AUTH parameters after 'resp'",
handler->client_pid);
+ auth_request_unref(&request);
return FALSE;
}
@@ -373,6 +374,7 @@
i_error("BUG: Authentication client %u "
"didn't specify service in request",
handler->client_pid);
+ auth_request_unref(&request);
return FALSE;
}
More information about the dovecot-cvs
mailing list