]> 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)
committerHoward Chu <hyc@openldap.org>
Wed, 2 May 2018 15:51:49 +0000 (16:51 +0100)
servers/slapd/overlays/syncprov.c

index 48ca2ae919cc88acb7ea229deacb3cdcc9b0ee60..160b57a28990b56f2d8427bb13ca43c54fad3232 100644 (file)
@@ -1936,6 +1936,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