dovecot-2.2: acl: Crashfix
dovecot at dovecot.org
dovecot at dovecot.org
Sun Jun 9 14:57:06 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/921017adcb7b
changeset: 16489:921017adcb7b
user: Timo Sirainen <tss at iki.fi>
date: Sun Jun 09 14:56:36 2013 +0300
description:
acl: Crashfix
diffstat:
src/plugins/acl/acl-backend-vfile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 73b7fce1643e -r 921017adcb7b src/plugins/acl/acl-backend-vfile.c
--- a/src/plugins/acl/acl-backend-vfile.c Sun Jun 09 14:53:31 2013 +0300
+++ b/src/plugins/acl/acl-backend-vfile.c Sun Jun 09 14:56:36 2013 +0300
@@ -144,7 +144,7 @@
/* ACL files are very important. try to keep them among the main
mail files. that's not possible though with a) if the mailbox is
a file or b) if the mailbox path doesn't point to filesystem. */
- vname = mailbox_list_get_vname(backend->list, name);
+ vname = name == NULL ? "" : mailbox_list_get_vname(backend->list, name);
if (mailbox_list_get_storage(&list, vname, &storage) < 0)
return NULL;
i_assert(list == ns->list);
More information about the dovecot-cvs
mailing list