Author: sir_richard
Date: Thu Nov 11 13:08:41 2010
New Revision: 49557
URL:
http://svn.reactos.org/svn/reactos?rev=49557&view=rev
Log:
[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.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/pfnlist.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/pfnlist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/pfnlist.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/pfnlist.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/pfnlist.c [iso-8859-1] Thu Nov 11 13:08:41 2010
@@ -265,7 +265,7 @@
else
{
/* Set the list head's backlink instead */
- ListHead->Blink = OldFlink;
+ ListHead->Blink = OldBlink;
}
/* Check if the back entry is the list head */