https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c4d25d27f67194a236e60…
commit c4d25d27f67194a236e60e556925e4ff288a1b3c
Author:     Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Mon Dec 31 11:11:43 2018 +0100
Commit:     Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Mon Dec 31 11:19:36 2018 +0100
    [RTL] Fix RtlNewSecurityGrantedAccess improperly zeroing output buffer
---
 sdk/lib/rtl/security.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/lib/rtl/security.c b/sdk/lib/rtl/security.c
index b6127a034b..c2f5deebfc 100644
--- a/sdk/lib/rtl/security.c
+++ b/sdk/lib/rtl/security.c
@@ -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 */