mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 11:39:34 -05:00
ITS#9282 Short-circuit cookie comparison in non-present check
This commit is contained in:
parent
739081f217
commit
da610c050c
1 changed files with 1 additions and 0 deletions
|
|
@ -5695,6 +5695,7 @@ nonpresent_callback(
|
|||
if ( syncCookie->sids[i] == sid &&
|
||||
ber_bvcmp( &a->a_nvals[0], &syncCookie->ctxcsn[i] ) <= 0 ) {
|
||||
covered = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue