mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Don't pollute op->o_bd in access_allowed()
This commit is contained in:
parent
3baffe7cf2
commit
86a18c2ea2
1 changed files with 2 additions and 1 deletions
|
|
@ -300,7 +300,8 @@ access_allowed(
|
|||
if (state) {
|
||||
if (state->as_vi_acl == a && (state->as_recorded & ACL_STATE_RECORDED_NV)) {
|
||||
Debug( LDAP_DEBUG_ACL, "access_allowed: result from state (%s)\n", attr, 0, 0 );
|
||||
return state->as_result;
|
||||
ret = state->as_result;
|
||||
goto done;
|
||||
} else if (!st_initialized) {
|
||||
Debug( LDAP_DEBUG_ACL, "access_allowed: no res from state (%s)\n", attr, 0, 0);
|
||||
*state = state_init;
|
||||
|
|
|
|||
Loading…
Reference in a new issue