mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#8843 check for NULL modlist
This commit is contained in:
parent
f32384ef44
commit
0ba50a1d06
@ -1936,6 +1936,7 @@ syncprov_op_response( Operation *op, SlapReply *rs )
|
|||||||
/* Don't do any processing for consumer contextCSN updates */
|
/* Don't do any processing for consumer contextCSN updates */
|
||||||
if ( SLAPD_SYNC_IS_SYNCCONN( op->o_connid ) &&
|
if ( SLAPD_SYNC_IS_SYNCCONN( op->o_connid ) &&
|
||||||
op->o_tag == LDAP_REQ_MODIFY &&
|
op->o_tag == LDAP_REQ_MODIFY &&
|
||||||
|
op->orm_modlist &&
|
||||||
op->orm_modlist->sml_op == LDAP_MOD_REPLACE &&
|
op->orm_modlist->sml_op == LDAP_MOD_REPLACE &&
|
||||||
op->orm_modlist->sml_desc == slap_schema.si_ad_contextCSN ) {
|
op->orm_modlist->sml_desc == slap_schema.si_ad_contextCSN ) {
|
||||||
/* Catch contextCSN updates from syncrepl. We have to look at
|
/* Catch contextCSN updates from syncrepl. We have to look at
|
||||||
|
Loading…
Reference in New Issue
Block a user