From: Howard Chu Date: Fri, 20 Jul 2007 15:16:36 +0000 (+0000) Subject: ITS#5048 fully initialize fc_limits X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~318 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b7d38c15ffcf450e48182aaf2d443db6b290b783;p=openldap ITS#5048 fully initialize fc_limits --- 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 );