mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[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. svn path=/trunk/; revision=48562
This commit is contained in:
parent
8f474295b5
commit
5ae5a35726
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ AfterFound:
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue