mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 12:23:28 +00:00
[NTOS]: Fix a bug in MiRemovePageByColor which caused corruption of the page list and could lead to crashes, re-use of freed memory, assuming active memory was free, etc.
svn path=/trunk/; revision=49557
This commit is contained in:
@@ -265,7 +265,7 @@ MiRemovePageByColor(IN PFN_NUMBER PageIndex,
|
||||
else
|
||||
{
|
||||
/* Set the list head's backlink instead */
|
||||
ListHead->Blink = OldFlink;
|
||||
ListHead->Blink = OldBlink;
|
||||
}
|
||||
|
||||
/* Check if the back entry is the list head */
|
||||
|
||||
Reference in New Issue
Block a user