Skip to content
Snippets Groups Projects
Commit 11b54bfe authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard
Browse files

ntdll: Don't change granted access mask on error.

parent bc85a34f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment