dovecot-1.1: mail_index_ext_resize() may have looked up old reco...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Jun 18 06:31:26 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/0d9c3270172b
changeset: 7681:0d9c3270172b
user: Timo Sirainen <tss at iki.fi>
date: Wed Jun 18 06:28:18 2008 +0300
description:
mail_index_ext_resize() may have looked up old record size from wrong
message.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-index/mail-index-transaction.c | 2 +-
diffs (12 lines):
diff -r b1efb2e26130 -r 0d9c3270172b src/lib-index/mail-index-transaction.c
--- a/src/lib-index/mail-index-transaction.c Wed Jun 18 06:30:51 2008 +0300
+++ b/src/lib-index/mail-index-transaction.c Wed Jun 18 06:28:18 2008 +0300
@@ -1065,7 +1065,7 @@ void mail_index_ext_resize(struct mail_i
} else {
const struct mail_index_ext *ext;
- ext = array_idx(&t->view->map->extensions, ext_id);
+ ext = array_idx(&t->view->map->extensions, intro.ext_id);
old_record_size = ext->record_size;
old_record_align = ext->record_align;
}
More information about the dovecot-cvs
mailing list