]> git.sur5r.net Git - openldap/commitdiff
ITS#8843 check for NULL modlist
authorHoward Chu <hyc@openldap.org>
Wed, 2 May 2018 15:51:49 +0000 (16:51 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 3 Jul 2018 23:34:10 +0000 (23:34 +0000)
servers/slapd/overlays/syncprov.c

index 684421fb94141a5292a6b661690a2220b674818f..9051ec9c977c4ca6f1b22968d4fe67ae2e2bc47c 100644 (file)
@@ -1924,6 +1924,7 @@ syncprov_op_response( Operation *op, SlapReply *rs )
                /* Don't do any processing for consumer contextCSN updates */
                if ( SLAPD_SYNC_IS_SYNCCONN( op->o_connid ) &&
                        op->o_tag == LDAP_REQ_MODIFY &&
+                       op->orm_modlist &&
                        op->orm_modlist->sml_op == LDAP_MOD_REPLACE &&
                        op->orm_modlist->sml_desc == slap_schema.si_ad_contextCSN ) {
                        /* Catch contextCSN updates from syncrepl. We have to look at