dovecot-2.2: fts: Another crashfix for recent changes.

dovecot at dovecot.org dovecot at dovecot.org
Sun May 20 03:26:27 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/352dd32abb8d
changeset: 14331:352dd32abb8d
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Mar 13 16:14:13 2012 +0200
description:
fts: Another crashfix for recent changes.

diffstat:

 src/plugins/fts/fts-storage.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b1c21492f8c9 -r 352dd32abb8d src/plugins/fts/fts-storage.c
--- a/src/plugins/fts/fts-storage.c	Tue Mar 13 15:11:13 2012 +0200
+++ b/src/plugins/fts/fts-storage.c	Tue Mar 13 16:14:13 2012 +0200
@@ -286,7 +286,7 @@
 
 	if (fctx == NULL || !fctx->fts_lookup_success) {
 		/* fts lookup not done for this search */
-		if (fctx->indexing_timed_out)
+		if (fctx != NULL && fctx->indexing_timed_out)
 			return FALSE;
 		return fbox->module_ctx.super.search_next_update_seq(ctx);
 	}


More information about the dovecot-cvs mailing list