mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
fix crash related to ITS#4839; other issues seem to presist
This commit is contained in:
parent
ba96ad0b90
commit
a904cc015c
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user