mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[RTL] Fix RtlNewSecurityGrantedAccess improperly zeroing output buffer
This commit is contained in:
parent
aa55bb1bd3
commit
c4d25d27f6
1 changed files with 1 additions and 1 deletions
|
@ -673,7 +673,7 @@ RtlNewSecurityGrantedAccess(IN ACCESS_MASK DesiredAccess,
|
|||
}
|
||||
|
||||
/* Check if the SACL right was granted... */
|
||||
RtlZeroMemory(&Privileges, Size);
|
||||
RtlZeroMemory(Privileges, Size);
|
||||
if (Granted)
|
||||
{
|
||||
/* Yes, return it in the structure */
|
||||
|
|
Loading…
Reference in a new issue