dovecot-2.0: Fix to previous flag update changes: Avoid crashes ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jul 14 02:58:04 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/8bdfb66bf660
changeset: 9618:8bdfb66bf660
user: Timo Sirainen <tss at iki.fi>
date: Mon Jul 13 18:56:16 2009 -0400
description:
Fix to previous flag update changes: Avoid crashes / infinite looping.
diffstat:
1 file changed, 1 insertion(+)
src/lib-index/mail-index-transaction-finish.c | 1 +
diffs (11 lines):
diff -r e852cb4c5cd2 -r 8bdfb66bf660 src/lib-index/mail-index-transaction-finish.c
--- a/src/lib-index/mail-index-transaction-finish.c Mon Jul 13 18:26:25 2009 -0400
+++ b/src/lib-index/mail-index-transaction-finish.c Mon Jul 13 18:56:16 2009 -0400
@@ -113,6 +113,7 @@ mail_index_transaction_finish_flag_updat
}
}
i = mail_transaction_drop_range(t, updates[i], i, &keeps);
+ updates = array_get(&t->updates, &count);
}
if (array_count(&t->updates) == 0)
More information about the dovecot-cvs
mailing list