ITS#5048 fully initialize fc_limits

This commit is contained in:
Howard Chu 2007-07-20 15:16:36 +00:00
parent fb5568bd45
commit b7d38c15ff

View File

@ -659,6 +659,7 @@ again:
} else { } else {
cf.f_choice = LDAP_FILTER_LE; cf.f_choice = LDAP_FILTER_LE;
fop.ors_limit = &fc_limits; fop.ors_limit = &fc_limits;
memset( &fc_limits, 0, sizeof( fc_limits ));
fc_limits.lms_s_unchecked = 1; fc_limits.lms_s_unchecked = 1;
fop.ors_filterstr.bv_len = sprintf( buf, "(entryCSN<=%s)", fop.ors_filterstr.bv_len = sprintf( buf, "(entryCSN<=%s)",
cf.f_av_value.bv_val ); cf.f_av_value.bv_val );