projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b257ae4
)
[NTOS/MM]
author
Jérôme Gardou
<jerome.gardou@reactos.org>
Tue, 9 Apr 2013 23:24:50 +0000
(23:24 +0000)
committer
Jérôme Gardou
<jerome.gardou@reactos.org>
Tue, 9 Apr 2013 23:24:50 +0000
(23:24 +0000)
- 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
reactos/ntoskrnl/mm/ARM3/virtual.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/mm/ARM3/virtual.c
b/reactos/ntoskrnl/mm/ARM3/virtual.c
index
724ce38
..
33432da
100644
(file)
--- a/
reactos/ntoskrnl/mm/ARM3/virtual.c
+++ b/
reactos/ntoskrnl/mm/ARM3/virtual.c
@@
-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");