[NTOSKRNL]: Count should be initialized to zero. Thanks to MSVC for finding a bug.

svn path=/trunk/; revision=60330
This commit is contained in:
Alex Ionescu 2013-09-23 03:16:38 +00:00
parent 736b50b0db
commit 27fd290e99

View file

@ -2751,7 +2751,7 @@ MmCommitSessionMappedView(IN PVOID MappedBase,
IN SIZE_T ViewSize) IN SIZE_T ViewSize)
{ {
ULONG_PTR StartAddress, EndingAddress, Base; ULONG_PTR StartAddress, EndingAddress, Base;
ULONG Hash, Count, Size, QuotaCharge; ULONG Hash, Count = 0, Size, QuotaCharge;
PMMSESSION Session; PMMSESSION Session;
PMMPTE LastProtoPte, PointerPte, ProtoPte; PMMPTE LastProtoPte, PointerPte, ProtoPte;
PCONTROL_AREA ControlArea; PCONTROL_AREA ControlArea;