dovecot-2.0: acl: Avoid passing NULL parameter to printf %s when...

dovecot at dovecot.org dovecot at dovecot.org
Mon Oct 18 16:52:05 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/00637db0e54c
changeset: 12295:00637db0e54c
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Oct 18 14:52:02 2010 +0100
description:
acl: Avoid passing NULL parameter to printf %s when mail_debug=yes

diffstat:

 src/plugins/acl/acl-backend-vfile.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r b8803a1e2dc2 -r 00637db0e54c src/plugins/acl/acl-backend-vfile.c
--- a/src/plugins/acl/acl-backend-vfile.c	Sat Oct 16 18:33:42 2010 +0100
+++ b/src/plugins/acl/acl-backend-vfile.c	Mon Oct 18 14:52:02 2010 +0100
@@ -102,6 +102,7 @@
 	}
 	if (_backend->debug) {
 		i_debug("acl vfile: Global ACL directory: %s",
+			backend->global_dir == NULL ? "(none)" :
 			backend->global_dir);
 	}
 


More information about the dovecot-cvs mailing list