dovecot-1.2: Calling dict_iterate_init() multiple times for a di...

dovecot at dovecot.org dovecot at dovecot.org
Mon Aug 25 16:47:48 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/ad9ad222729c
changeset: 8105:ad9ad222729c
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Aug 25 16:47:22 2008 +0300
description:
Calling dict_iterate_init() multiple times for a dict assert-crashed.
Patch by Bernhard Herzog.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-dict/dict-client.c |    2 +-

diffs (12 lines):

diff -r b03b937dadcf -r ad9ad222729c src/lib-dict/dict-client.c
--- a/src/lib-dict/dict-client.c	Fri Aug 22 19:31:12 2008 +0300
+++ b/src/lib-dict/dict-client.c	Mon Aug 25 16:47:22 2008 +0300
@@ -439,7 +439,7 @@ static void client_dict_iterate_deinit(s
 
 	pool_unref(&ctx->pool);
 	i_free(ctx);
-	dict->in_iteration = TRUE;
+	dict->in_iteration = FALSE;
 }
 
 static struct dict_transaction_context *


More information about the dovecot-cvs mailing list