dovecot-1.2: maildir: Crashfix on some save failures (e.g. over ...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Oct 18 15:37:45 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/5e79a333954d
changeset: 8288:5e79a333954d
user: Timo Sirainen <tss at iki.fi>
date: Sat Oct 18 15:37:42 2008 +0300
description:
maildir: Crashfix on some save failures (e.g. over quota).
diffstat:
1 file changed, 1 insertion(+)
src/lib-storage/index/maildir/maildir-save.c | 1 +
diffs (11 lines):
diff -r 944f709797df -r 5e79a333954d src/lib-storage/index/maildir/maildir-save.c
--- a/src/lib-storage/index/maildir/maildir-save.c Sat Oct 18 15:26:41 2008 +0300
+++ b/src/lib-storage/index/maildir/maildir-save.c Sat Oct 18 15:37:42 2008 +0300
@@ -121,6 +121,7 @@ maildir_save_transaction_init(struct mai
ctx->mbox = mbox;
ctx->trans = t->ictx.trans;
ctx->files_tail = &ctx->files;
+ ctx->fd = -1;
ctx->tmpdir = p_strconcat(pool, mbox->path, "/tmp", NULL);
ctx->newdir = p_strconcat(pool, mbox->path, "/new", NULL);
More information about the dovecot-cvs
mailing list