dovecot-2.2-pigeonhole: doveadm-sieve: Crash instead of writing ...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Mon Mar 25 13:34:20 EET 2013


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/097764f6bbe3
changeset: 1728:097764f6bbe3
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Mon Mar 25 12:34:13 2013 +0100
description:
doveadm-sieve: Crash instead of writing empty .sieve files.
Patch by Timo Sirainen.

diffstat:

 src/plugins/doveadm-sieve/doveadm-sieve-plugin.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r cb910570ad88 -r 097764f6bbe3 src/plugins/doveadm-sieve/doveadm-sieve-plugin.c
--- a/src/plugins/doveadm-sieve/doveadm-sieve-plugin.c	Sat Mar 23 12:14:14 2013 +0100
+++ b/src/plugins/doveadm-sieve/doveadm-sieve-plugin.c	Mon Mar 25 12:34:13 2013 +0100
@@ -214,6 +214,7 @@
 			break;
 		}
 	}
+	i_assert(input->eof);
 	if (input->stream_errno != 0) {
 		errno = input->stream_errno;
 		mail_storage_set_critical(storage,


More information about the dovecot-cvs mailing list