dovecot-2.1-pigeonhole: lib-sieve: dict script: fixed potential ...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sat Oct 13 11:31:03 EEST 2012


details:   http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/2b5ff3818a9f
changeset: 1659:2b5ff3818a9f
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sat Oct 13 10:30:57 2012 +0200
description:
lib-sieve: dict script: fixed potential segfault occuring when dict initialization fails.

diffstat:

 src/lib-sieve/sieve-script-dict.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r ceef02768dee -r 2b5ff3818a9f src/lib-sieve/sieve-script-dict.c
--- a/src/lib-sieve/sieve-script-dict.c	Thu Oct 11 22:07:50 2012 +0200
+++ b/src/lib-sieve/sieve-script-dict.c	Sat Oct 13 10:30:57 2012 +0200
@@ -112,7 +112,6 @@
 			"sieve dict backend: failed to initialize dict with data `%s' "
 			"for user `%s'", data, username);
 		*error_r = SIEVE_ERROR_TEMP_FAIL;
-		dict_deinit(&script->dict);
 		return -1;
 	}
 


More information about the dovecot-cvs mailing list