mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[NTOS/MM]
- Fix check for address range fitting the VAD when commiting memory CORE-7065 #comment Should be fixed with r58627 #resolve svn path=/trunk/; revision=58727
This commit is contained in:
parent
b257ae4d5d
commit
abec02cd44
1 changed files with 1 additions and 1 deletions
|
@ -4081,7 +4081,7 @@ NtAllocateVirtualMemory(IN HANDLE ProcessHandle,
|
|||
//
|
||||
// Make sure that this address range actually fits within the VAD for it
|
||||
//
|
||||
if (((StartingAddress >> PAGE_SHIFT) < FoundVad->StartingVpn) &&
|
||||
if (((StartingAddress >> PAGE_SHIFT) < FoundVad->StartingVpn) ||
|
||||
((EndingAddress >> PAGE_SHIFT) > FoundVad->EndingVpn))
|
||||
{
|
||||
DPRINT1("Address range does not fit into the VAD\n");
|
||||
|
|
Loading…
Reference in a new issue