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/2b767751ff27
changeset: 1661:2b767751ff27
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Wed Oct 17 02:09:55 2012 +0200
description:
lib-sieve: vnd.dovecot.duplicate extension: fixed bug in previous change.
Forgot to initialize variable, causing a segfault at runtime.

diffstat:

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

diffs (12 lines):

diff -r 12a4e11ecd4c -r 2b767751ff27 src/lib-sieve/plugins/vnd.dovecot/duplicate/tst-duplicate.c
--- a/src/lib-sieve/plugins/vnd.dovecot/duplicate/tst-duplicate.c	Tue Oct 16 21:33:15 2012 +0200
+++ b/src/lib-sieve/plugins/vnd.dovecot/duplicate/tst-duplicate.c	Wed Oct 17 02:09:55 2012 +0200
@@ -277,7 +277,7 @@
 	const struct ext_duplicate_config *config =
 		(const struct ext_duplicate_config *) ext->context;
 	int opt_code = 0;
-	string_t *handle = NULL, *header = NULL, *value;
+	string_t *handle = NULL, *header = NULL, *value = NULL;
 	const char *val = NULL;
 	size_t val_len = 0;
 	sieve_number_t seconds = config->default_period;


More information about the dovecot-cvs mailing list