From a904cc015c73dd3d823d62b747e5491461beddd9 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 10 Feb 2007 10:55:05 +0000 Subject: [PATCH] fix crash related to ITS#4839; other issues seem to presist --- servers/slapd/overlays/syncprov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.39.5