dovecot-2.1: dsync: Fixed a potential assert crash when saving m...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Feb 9 20:38:21 EET 2012
details: http://hg.dovecot.org/dovecot-2.1/rev/e29bc3eb0ba6
changeset: 14106:e29bc3eb0ba6
user: Timo Sirainen <tss at iki.fi>
date: Thu Feb 09 20:38:16 2012 +0200
description:
dsync: Fixed a potential assert crash when saving mails.
diffstat:
src/doveadm/dsync/dsync-worker-local.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 98a59ac1f3d0 -r e29bc3eb0ba6 src/doveadm/dsync/dsync-worker-local.c
--- a/src/doveadm/dsync/dsync-worker-local.c Thu Feb 09 20:37:24 2012 +0200
+++ b/src/doveadm/dsync/dsync-worker-local.c Thu Feb 09 20:38:16 2012 +0200
@@ -1628,7 +1628,7 @@
dsync_worker_save_callback_t *callback;
ssize_t ret;
- while ((ret = i_stream_read(worker->save_input)) > 0) {
+ while ((ret = i_stream_read(worker->save_input)) > 0 || ret == -2) {
if (mailbox_save_continue(worker->save_ctx) < 0)
break;
}
More information about the dovecot-cvs
mailing list