dovecot-1.2: auth: Don't leak memory with buggy auth-master clie...

dovecot at dovecot.org dovecot at dovecot.org
Mon Aug 17 19:29:16 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/0d0a801a4d1e
changeset: 9334:0d0a801a4d1e
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Aug 17 12:29:09 2009 -0400
description:
auth: Don't leak memory with buggy auth-master clients.

diffstat:

1 file changed, 1 insertion(+)
src/auth/auth-master-connection.c |    1 +

diffs (11 lines):

diff -r 15b4b2c904fe -r 0d0a801a4d1e src/auth/auth-master-connection.c
--- a/src/auth/auth-master-connection.c	Mon Aug 17 11:42:33 2009 -0400
+++ b/src/auth/auth-master-connection.c	Mon Aug 17 12:29:09 2009 -0400
@@ -153,6 +153,7 @@ master_input_user(struct auth_master_con
 
 	if (auth_request->service == NULL) {
 		i_error("BUG: Master sent USER request without service");
+		auth_master_connection_unref(&conn);
 		auth_request_unref(&auth_request);
 		return FALSE;
 	}


More information about the dovecot-cvs mailing list