dovecot-1.2: mail_index_ext_resize() may have looked up old reco...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Jun 18 06:32:04 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/51a56b173df7
changeset: 7890:51a56b173df7
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 ef8af0eb161a -r 51a56b173df7 src/lib-index/mail-index-transaction.c
--- a/src/lib-index/mail-index-transaction.c Wed Jun 18 05:57:23 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