dovecot-2.1: auth: Don't crash when using default static userdb.

dovecot at dovecot.org dovecot at dovecot.org
Wed Sep 7 16:44:28 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/fdca1c2cce01
changeset: 13426:fdca1c2cce01
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Sep 07 16:44:14 2011 +0300
description:
auth: Don't crash when using default static userdb.

diffstat:

 src/auth/auth.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 9380133c8531 -r fdca1c2cce01 src/auth/auth.c
--- a/src/auth/auth.c	Wed Sep 07 16:10:16 2011 +0300
+++ b/src/auth/auth.c	Wed Sep 07 16:44:14 2011 +0300
@@ -11,7 +11,9 @@
 
 struct auth_userdb_settings userdb_dummy_set = {
 	.driver = "static",
-	.args = ""
+	.args = "",
+	.default_fields = "",
+	.override_fields = ""
 };
 
 static ARRAY_DEFINE(auths, struct auth *);


More information about the dovecot-cvs mailing list