From: Pierangelo Masarati Date: Sat, 10 Feb 2007 10:55:05 +0000 (+0000) Subject: fix crash related to ITS#4839; other issues seem to presist X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~34 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a904cc015c73dd3d823d62b747e5491461beddd9;p=openldap fix crash related to ITS#4839; other issues seem to presist --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index ed68e77dc7..8aaa3f746b 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -2539,7 +2539,7 @@ syncprov_db_open( if ( a ) { int i; ber_bvarray_dup_x( &si->si_ctxcsn, a->a_vals, NULL ); - for ( i=0; !BER_BVISEMPTY( &a->a_vals[i] ); i++ ); + for ( i = 0; !BER_BVISNULL( &a->a_vals[i] ); i++ ); si->si_numcsns = i; si->si_sids = slap_parse_csn_sids( si->si_ctxcsn, i ); }