projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d317c64
)
[ADVAPI32]
author
Eric Kohl
<eric.kohl@reactos.org>
Tue, 27 Aug 2013 20:58:29 +0000
(20:58 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Tue, 27 Aug 2013 20:58:29 +0000
(20:58 +0000)
GetSidSubAuthority and GetSidSubAuthorityCount: Set last error code to ERROR_SUCCESS before calling the Rtl function.
svn path=/trunk/; revision=59842
reactos/dll/win32/advapi32/sec/sid.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/advapi32/sec/sid.c
b/reactos/dll/win32/advapi32/sec/sid.c
index
1b950be
..
7148647
100644
(file)
--- a/
reactos/dll/win32/advapi32/sec/sid.c
+++ b/
reactos/dll/win32/advapi32/sec/sid.c
@@
-1499,6
+1499,7
@@
WINAPI
GetSidSubAuthority(PSID pSid,
DWORD nSubAuthority)
{
+ SetLastError(ERROR_SUCCESS);
return (PDWORD)RtlSubAuthoritySid(pSid, nSubAuthority);
}
@@
-1510,6
+1511,7
@@
PUCHAR
WINAPI
GetSidSubAuthorityCount(PSID pSid)
{
+ SetLastError(ERROR_SUCCESS);
return RtlSubAuthorityCountSid(pSid);
}