mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Fix crasher in slapi_over_unmerge_controls() (if called from cleanup handler
where merge controls was not called)
This commit is contained in:
parent
dcfd499eca
commit
c723a77e1c
@ -478,7 +478,7 @@ slapi_over_unmerge_controls( Operation *op, SlapReply *rs )
|
||||
|
||||
slapi_pblock_get( pb, SLAPI_X_OLD_RESCONTROLS, (void **)&rs_ctrls );
|
||||
|
||||
if ( rs->sr_ctrls == NULL || rs->sr_ctrls == rs_ctrls ) {
|
||||
if ( rs_ctrls == NULL || rs->sr_ctrls == rs_ctrls ) {
|
||||
/* no copying done */
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user