dovecot-2.2-pigeonhole: doveadm sieve plugin: Fixed assert crash...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Thu Jun 26 21:26:10 UTC 2014


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/92405f753f6a
changeset: 1882:92405f753f6a
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Thu Jun 26 23:25:43 2014 +0200
description:
doveadm sieve plugin: Fixed assert crash occuring when Sieve script attribute assignment fails.

diffstat:

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

diffs (12 lines):

diff -r d5620195d79c -r 92405f753f6a src/plugins/doveadm-sieve/doveadm-sieve-plugin.c
--- a/src/plugins/doveadm-sieve/doveadm-sieve-plugin.c	Thu Jun 19 00:10:53 2014 +0200
+++ b/src/plugins/doveadm-sieve/doveadm-sieve-plugin.c	Thu Jun 26 23:25:43 2014 +0200
@@ -330,7 +330,7 @@
 			break;
 		}
 	}
-	i_assert(input->eof);
+	i_assert(input->eof || ret < 0);
 	if (input->stream_errno != 0) {
 		errno = input->stream_errno;
 		mail_storage_set_critical(storage,


More information about the dovecot-cvs mailing list