mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
fix crash related to ITS#4839; other issues seem to presist
This commit is contained in:
parent
ba96ad0b90
commit
a904cc015c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue