]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9355 Propagate errors from overlay_entry_get_ov
authorOndřej Kuzník <ondra@mistotebe.net>
Wed, 23 Sep 2020 07:17:56 +0000 (08:17 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 23 Sep 2020 15:07:52 +0000 (15:07 +0000)
servers/slapd/syncrepl.c

index 203180c3a3f8273c9680c368182dbab28f2c047b..6022b8cfda904ffbbc15e173e7c7f7d1025da4c6 100644 (file)
@@ -2259,7 +2259,10 @@ syncrepl_op_modify( Operation *op, SlapReply *rs )
                        match = 1;
                }
                overlay_entry_release_ov( op, e, 0, on );
+       } else {
+               return SLAP_CB_CONTINUE;
        }
+
        /* equal? Should never happen */
        if ( match == 0 ) {
                slap_graduate_commit_csn( op );