ntdll: Don't change granted access mask on error.
This commit is contained in:
parent
bc85a34f50
commit
11b54bfe87
|
@ -1527,8 +1527,10 @@ NtAccessCheck(
|
|||
PrivilegeSet->PrivilegeCount = reply->privileges_len / sizeof(LUID_AND_ATTRIBUTES);
|
||||
|
||||
if (status == STATUS_SUCCESS)
|
||||
{
|
||||
*AccessStatus = reply->access_status;
|
||||
*GrantedAccess = reply->access_granted;
|
||||
*GrantedAccess = reply->access_granted;
|
||||
}
|
||||
}
|
||||
SERVER_END_REQ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue