From: Howard Chu Date: Tue, 2 May 2006 05:08:59 +0000 (+0000) Subject: ITS#4423, fix sessionlog lower bound in playlog X-Git-Tag: OPENLDAP_REL_ENG_2_4_1ALPHA~2^2~93 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=608c85a9f055eb42acd031bda6c8bf2f942a5d04;p=openldap ITS#4423, fix sessionlog lower bound in playlog --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index defe5f11ed..798924fb1f 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1346,7 +1346,7 @@ syncprov_playlog( Operation *op, SlapReply *rs, sessionlog *sl, * unlock the list mutex. */ for ( se=sl->sl_head; se; se=se->se_next ) { - if ( ber_bvcmp( &se->se_csn, oldcsn ) < 0 ) continue; + if ( ber_bvcmp( &se->se_csn, oldcsn ) <= 0 ) continue; if ( ber_bvcmp( &se->se_csn, ctxcsn ) > 0 ) break; if ( se->se_tag == LDAP_REQ_DELETE ) { j = i;