Vitaliy Margolen : ntdll: Don't change granted access mask on error.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jan 22 07:05:34 CST 2007
Module: wine
Branch: master
Commit: 11b54bfe876907bf0eaaae7f7956ec201a00b95c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=11b54bfe876907bf0eaaae7f7956ec201a00b95c
Author: Vitaliy Margolen <wine-patches at kievinfo.com>
Date: Sun Jan 21 13:37:22 2007 -0700
ntdll: Don't change granted access mask on error.
---
dlls/ntdll/sec.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/sec.c b/dlls/ntdll/sec.c
index ba2b219..92b6b78 100644
--- a/dlls/ntdll/sec.c
+++ b/dlls/ntdll/sec.c
@@ -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;
More information about the wine-cvs
mailing list