From 608c85a9f055eb42acd031bda6c8bf2f942a5d04 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 2 May 2006 05:08:59 +0000 Subject: [PATCH] ITS#4423, fix sessionlog lower bound in playlog --- servers/slapd/overlays/syncprov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5