mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[NTOS]: Make sure we don't get a user-pointer back from MmMapInSystemSpace.
svn path=/trunk/; revision=49433
This commit is contained in:
parent
82ca671f14
commit
f6fa150d19
1 changed files with 1 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue