]> git.sur5r.net Git - openldap/commitdiff
ITS#5048 fully initialize fc_limits
authorHoward Chu <hyc@openldap.org>
Fri, 20 Jul 2007 15:16:36 +0000 (15:16 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 20 Jul 2007 15:16:36 +0000 (15:16 +0000)
servers/slapd/overlays/syncprov.c

index 6fc74b203e935c3a77e101ad2d72a7f73ad2bb0a..b1f064b8e295ba6c19d611b77cee9e3f8021dbc7 100644 (file)
@@ -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 );