[NTOS]: Make sure we don't get a user-pointer back from MmMapInSystemSpace.

svn path=/trunk/; revision=49433
This commit is contained in:
Sir Richard 2010-11-02 14:40:31 +00:00
parent 82ca671f14
commit f6fa150d19

View file

@ -329,6 +329,7 @@ ExpInitNls(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
}
/* 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 */