[NTOSKRNL]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 15 Oct 2014 22:03:50 +0000 (22:03 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 15 Oct 2014 22:03:50 +0000 (22:03 +0000)
Don't use an uninitialized variable in MmArmAccessFault (Alex, please review). Brought to you by MSVC runtime checks.

svn path=/trunk/; revision=64757

reactos/ntoskrnl/mm/ARM3/pagfault.c

index ff3c28e..ffe6f6a 100644 (file)
@@ -1511,7 +1511,7 @@ MmArmAccessFault(IN BOOLEAN StoreInstruction,
     NTSTATUS Status;
     PMMSUPPORT WorkingSet;
     ULONG ProtectionCode;
-    PMMVAD Vad;
+    PMMVAD Vad = NULL;
     PFN_NUMBER PageFrameIndex;
     ULONG Color;
     BOOLEAN IsSessionAddress;