dovecot-2.1-pigeonhole: lib-sieve: vnd.dovecot.duplicate extensi...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Wed Oct 17 03:15:09 EEST 2012


details:   http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/3a972efe012b
changeset: 1662:3a972efe012b
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Wed Oct 17 02:15:04 2012 +0200
description:
lib-sieve: vnd.dovecot.duplicate extension: Fixed segfault occurring in testsuite.

diffstat:

 src/lib-sieve/plugins/vnd.dovecot/duplicate/tst-duplicate.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 2b767751ff27 -r 3a972efe012b src/lib-sieve/plugins/vnd.dovecot/duplicate/tst-duplicate.c
--- a/src/lib-sieve/plugins/vnd.dovecot/duplicate/tst-duplicate.c	Wed Oct 17 02:09:55 2012 +0200
+++ b/src/lib-sieve/plugins/vnd.dovecot/duplicate/tst-duplicate.c	Wed Oct 17 02:15:04 2012 +0200
@@ -334,7 +334,7 @@
 	} else if (value != NULL) {
 		val = str_c(value);
 		val_len = str_len(value);
-	} else {
+	} else if (renv->msgdata->id != NULL) {
 		val = renv->msgdata->id;
 		val_len = strlen(renv->msgdata->id);
 	}


More information about the dovecot-cvs mailing list