mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 22:50:51 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue