dovecot-1.2: acl: Crashfix.

dovecot at dovecot.org dovecot at dovecot.org
Fri Nov 21 17:22:00 EET 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/75d2b3b5b367
changeset: 8464:75d2b3b5b367
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Nov 21 17:21:56 2008 +0200
description:
acl: Crashfix.

diffstat:

1 file changed, 3 insertions(+)
src/plugins/acl/acl-lookup-dict.c |    3 +++

diffs (13 lines):

diff -r 6e5c37d9dcf9 -r 75d2b3b5b367 src/plugins/acl/acl-lookup-dict.c
--- a/src/plugins/acl/acl-lookup-dict.c	Fri Nov 21 17:15:08 2008 +0200
+++ b/src/plugins/acl/acl-lookup-dict.c	Fri Nov 21 17:21:56 2008 +0200
@@ -111,6 +111,9 @@ static int acl_lookup_dict_rebuild_add_b
 	const char *name, *id_dup;
 	string_t *id;
 	int ret, ret2 = 0;
+
+	if ((ns->flags & NAMESPACE_FLAG_INTERNAL) != 0)
+		return 0;
 
 	id = t_str_new(128);
 	backend = acl_storage_get_backend(ns->storage);


More information about the dovecot-cvs mailing list