dovecot-2.1: passdb static: Don't crash if password/nopassword i...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Apr 25 23:34:39 EEST 2012
details: http://hg.dovecot.org/dovecot-2.1/rev/c2038fb33633
changeset: 14485:c2038fb33633
user: Timo Sirainen <tss at iki.fi>
date: Wed Apr 25 23:34:29 2012 +0300
description:
passdb static: Don't crash if password/nopassword isn't set.
diffstat:
src/auth/passdb-static.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 008c1afeba3c -r c2038fb33633 src/auth/passdb-static.c
--- a/src/auth/passdb-static.c Wed Apr 25 22:28:03 2012 +0300
+++ b/src/auth/passdb-static.c Wed Apr 25 23:34:29 2012 +0300
@@ -25,7 +25,7 @@
passdb_template_export(module->tmpl, request);
if (module->static_password_tmpl == NULL)
- *password_r = NULL;
+ *password_r = "";
else {
table = auth_request_get_var_expand_table(request, NULL);
var_expand(str, module->static_password_tmpl, table);
More information about the dovecot-cvs
mailing list