mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 09:41:47 +00:00
[CSRSS]: Should use MEM_COMMIT | MEM_RESERVE, not just MEM_COMMIT when requesting a range of adress space that wasn't already reserved. This works in ReactOS because, well, no reason to explain why, but it wouldn't work on Windows or with a VAD-based kernel.
svn path=/trunk/; revision=49178
This commit is contained in:
parent
55e59a3673
commit
82949cc7b2
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ InitializeVideoAddressSpace(VOID)
|
|||
&BaseAddress,
|
||||
0,
|
||||
&ViewSize,
|
||||
MEM_COMMIT,
|
||||
MEM_RESERVE | MEM_COMMIT,
|
||||
PAGE_EXECUTE_READWRITE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue