projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f47429
)
[NTOSKRNL]
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Thu, 19 Aug 2010 05:10:16 +0000
(
05:10
+0000)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Thu, 19 Aug 2010 05:10:16 +0000
(
05:10
+0000)
- 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
reactos/ntoskrnl/mm/ARM3/procsup.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/mm/ARM3/procsup.c
b/reactos/ntoskrnl/mm/ARM3/procsup.c
index
816c7d1
..
25df259
100644
(file)
--- a/
reactos/ntoskrnl/mm/ARM3/procsup.c
+++ b/
reactos/ntoskrnl/mm/ARM3/procsup.c
@@
-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;