mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 10:20:03 +00:00
- Don't modify access status when function fails
- reduces advapi32_winetest security failures by 3 svn path=/trunk/; revision=41605
This commit is contained in:
parent
68ccd5f6e4
commit
f760f8c906
|
@ -172,7 +172,7 @@ AccessCheck(IN PSECURITY_DESCRIPTOR pSecurityDescriptor,
|
|||
{
|
||||
/* Access denied */
|
||||
SetLastError(RtlNtStatusToDosError(NtAccessStatus));
|
||||
*AccessStatus = FALSE;
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue