dovecot-2.0: acl: Fixed crash when acl_lookup_dict was disabled ...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Mar 4 02:51:20 EET 2011
details: http://hg.dovecot.org/dovecot-2.0/rev/c0203b7923d3
changeset: 12633:c0203b7923d3
user: Timo Sirainen <tss at iki.fi>
date: Fri Mar 04 02:51:18 2011 +0200
description:
acl: Fixed crash when acl_lookup_dict was disabled and user belonged to groups.
diffstat:
src/plugins/acl/acl-lookup-dict.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 989f3990b254 -r c0203b7923d3 src/plugins/acl/acl-lookup-dict.c
--- a/src/plugins/acl/acl-lookup-dict.c Wed Mar 02 15:52:10 2011 +0200
+++ b/src/plugins/acl/acl-lookup-dict.c Fri Mar 04 02:51:18 2011 +0200
@@ -311,6 +311,8 @@
first one */
if (dict->dict != NULL)
acl_lookup_dict_iterate_read(iter);
+ else
+ array_clear(&iter->iter_ids);
return iter;
}
More information about the dovecot-cvs
mailing list