[ntoskrnl]

- When a node is removed, check the NodeHint of the table to see if it matches the one being removed. If so update the NodeHint to the PreviousNode. FIxes VAD corruption messages.

svn path=/trunk/; revision=48640
This commit is contained in:
Michael Martin
2010-08-29 07:00:52 +00:00
parent 73e641d29b
commit 690399c881
+5
View File
@@ -108,6 +108,11 @@ NTAPI
MiRemoveNode(IN PMMADDRESS_NODE Node,
IN PMM_AVL_TABLE Table)
{
if (Table->NodeHint == Node)
{
Table->NodeHint = MiGetPreviousNode(Table->NodeHint);
}
/* Call the AVL code */
RtlpDeleteAvlTreeNode(Table, Node);