Author: sir_richard Date: Tue Nov 2 14:40:31 2010 New Revision: 49433
URL: http://svn.reactos.org/svn/reactos?rev=49433&view=rev Log: [NTOS]: Make sure we don't get a user-pointer back from MmMapInSystemSpace.
Modified: trunk/reactos/ntoskrnl/ex/init.c
Modified: trunk/reactos/ntoskrnl/ex/init.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/init.c?rev=4943... ============================================================================== --- trunk/reactos/ntoskrnl/ex/init.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/ex/init.c [iso-8859-1] Tue Nov 2 14:40:31 2010 @@ -329,6 +329,7 @@ }
/* Copy the codepage data in its new location. */ + ASSERT(SectionBase > MmSystemRangeStart); RtlCopyMemory(SectionBase, ExpNlsTableBase, ExpNlsTableSize);
/* Free the previously allocated buffer and set the new location */