mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user