dovecot-2.0: mbox: Potential crashfix if some plugin enabled syn...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Apr 5 01:18:54 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/49fa7e735b87
changeset: 11043:49fa7e735b87
user: Timo Sirainen <tss at iki.fi>
date: Mon Apr 05 01:18:51 2010 +0300
description:
mbox: Potential crashfix if some plugin enabled sync_notify (e.g. quota).
diffstat:
src/lib-storage/index/mbox/mbox-sync.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r ac69462fc549 -r 49fa7e735b87 src/lib-storage/index/mbox/mbox-sync.c
--- a/src/lib-storage/index/mbox/mbox-sync.c Mon Apr 05 01:15:52 2010 +0300
+++ b/src/lib-storage/index/mbox/mbox-sync.c Mon Apr 05 01:18:51 2010 +0300
@@ -397,7 +397,7 @@
MAIL_INDEX_MAIL_FLAG_DIRTY;
}
if (sync_type != 0 && box->v.sync_notify != NULL) {
- box->v.sync_notify(box, rec->uid,
+ box->v.sync_notify(box, mail_ctx->mail.uid,
index_sync_type_convert(sync_type));
}
}
More information about the dovecot-cvs
mailing list