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

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


details:   http://hg.dovecot.org/dovecot-1.1/rev/3d608cc2ae9d
changeset: 7829:3d608cc2ae9d
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Aug 25 16:47:41 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 c1e022104285 -r 3d608cc2ae9d 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:41 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