dovecot-2.2: indexer-worker: Don't assert-crash with some mailbo...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Jan 5 01:14:35 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/04704d1eb6c3
changeset: 15559:04704d1eb6c3
user: Timo Sirainen <tss at iki.fi>
date: Tue Dec 18 20:48:36 2012 +0200
description:
indexer-worker: Don't assert-crash with some mailbox names in some configurations.
Virtual mailbox name shouldn't be accessed directly using mailbox_list_*()
functions, since they expect a storage name. In some configurations this
could have caused assert-crashes with mailbox names that contained invalid
characters.
diffstat:
src/indexer/master-connection.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 4ec13ce76f6e -r 04704d1eb6c3 src/indexer/master-connection.c
--- a/src/indexer/master-connection.c Tue Dec 18 18:57:41 2012 +0200
+++ b/src/indexer/master-connection.c Tue Dec 18 20:48:36 2012 +0200
@@ -129,10 +129,10 @@
return -1;
}
- path = mailbox_list_get_path(ns->list, mailbox,
+ path = mailbox_list_get_path(ns->list, NULL,
MAILBOX_LIST_PATH_TYPE_INDEX);
if (*path == '\0') {
- i_info("Indexes disabled for Mailbox %s, skipping", mailbox);
+ i_info("Indexes disabled for mailbox %s, skipping", mailbox);
return 0;
}
More information about the dovecot-cvs
mailing list