[LSASRV]
authorEric Kohl <eric.kohl@reactos.org>
Sun, 16 Jun 2013 16:24:45 +0000 (16:24 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 16 Jun 2013 16:24:45 +0000 (16:24 +0000)
Fix uninitialized variable.
CORE-7303 #resolve #comment Fixed!

svn path=/trunk/; revision=59233

reactos/dll/win32/lsasrv/lsarpc.c

index 0f6aef2..c951b34 100644 (file)
@@ -2178,7 +2178,7 @@ NTSTATUS WINAPI LsarEnumerateAccountRights(
     PRPC_UNICODE_STRING RightsBuffer = NULL;
     PRPC_UNICODE_STRING PrivilegeString;
     ACCESS_MASK SystemAccess;
-    ULONG RightsCount;
+    ULONG RightsCount = 0;
     ULONG RightsIndex;
     ULONG i;
     NTSTATUS Status;