[ros-diffs] [sir_richard] 49557: [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.

sir_richard at svn.reactos.org sir_richard at svn.reactos.org
Thu Nov 11 13:08:42 UTC 2010


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?rev=49557&r1=49556&r2=49557&view=diff
==============================================================================
--- 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 */




More information about the Ros-diffs mailing list