From b7d38c15ffcf450e48182aaf2d443db6b290b783 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 20 Jul 2007 15:16:36 +0000 Subject: [PATCH] ITS#5048 fully initialize fc_limits --- servers/slapd/overlays/syncprov.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 6fc74b203e..b1f064b8e2 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -659,6 +659,7 @@ again: } else { cf.f_choice = LDAP_FILTER_LE; fop.ors_limit = &fc_limits; + memset( &fc_limits, 0, sizeof( fc_limits )); fc_limits.lms_s_unchecked = 1; fop.ors_filterstr.bv_len = sprintf( buf, "(entryCSN<=%s)", cf.f_av_value.bv_val );