Author: tkreuzer
Date: Thu Aug 19 05:10:16 2010
New Revision: 48562
URL:
http://svn.reactos.org/svn/reactos?rev=48562&view=rev
Log:
[NTOSKRNL]
- Initialize the Parent member of the new Vad to NULL. This also initializes the Balance
to 0 aka RtlBalancedAvlTree
Should fix the failed assertion that randomly occurs.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/procsup.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/procsup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/procsup.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/procsup.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/procsup.c [iso-8859-1] Thu Aug 19 05:10:16 2010
@@ -121,6 +121,7 @@
Vad->EndingVpn = ((*Base) + Size - 1) >> PAGE_SHIFT;
Vad->u3.Secured.StartVpn = *Base;
Vad->u3.Secured.EndVpn = (Vad->EndingVpn << PAGE_SHIFT) | (PAGE_SIZE -
1);
+ Vad->u1.Parent = NULL;
/* FIXME: Should setup VAD bitmap */
Status = STATUS_SUCCESS;