dovecot-2.0: lib-storage: Trying to access shared mailboxes of n...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Feb 9 04:13:43 EET 2012
details: http://hg.dovecot.org/dovecot-2.0/rev/09f964850245
changeset: 13041:09f964850245
user: Timo Sirainen <tss at iki.fi>
date: Thu Feb 09 04:13:28 2012 +0200
description:
lib-storage: Trying to access shared mailboxes of nonexistent users crashed.
This was broken by commit 18078d6cce84.
diffstat:
src/lib-storage/index/shared/shared-storage.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r d83356f1fce6 -r 09f964850245 src/lib-storage/index/shared/shared-storage.c
--- a/src/lib-storage/index/shared/shared-storage.c Thu Feb 09 03:44:09 2012 +0200
+++ b/src/lib-storage/index/shared/shared-storage.c Thu Feb 09 04:13:28 2012 +0200
@@ -46,6 +46,8 @@
storage->location = p_strdup(_storage->pool, ns->set->location);
storage->unexpanded_location =
p_strdup(_storage->pool, ns->unexpanded_set->location);
+ storage->storage_class_name = p_strdup(_storage->pool, driver);
+
storage_class = mail_storage_find_class(driver);
if (storage_class != NULL)
_storage->class_flags = storage_class->class_flags;
More information about the dovecot-cvs
mailing list