From: Howard Chu Date: Wed, 2 May 2018 15:51:49 +0000 (+0100) Subject: ITS#8843 check for NULL modlist X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0ba50a1d064ef71145fe0a08d813d710634a23b4;p=openldap ITS#8843 check for NULL modlist --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 48ca2ae919..160b57a289 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -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