ITS#9282 Short-circuit cookie comparison in non-present check

This commit is contained in:
Ondřej Kuzník 2021-09-13 11:28:20 +01:00 committed by Quanah Gibson-Mount
parent 739081f217
commit da610c050c

View file

@ -5695,6 +5695,7 @@ nonpresent_callback(
if ( syncCookie->sids[i] == sid &&
ber_bvcmp( &a->a_nvals[0], &syncCookie->ctxcsn[i] ) <= 0 ) {
covered = 1;
break;
}
}
}