projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60bf8d9
)
[MM]
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sun, 29 Nov 2009 15:26:31 +0000
(15:26 +0000)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sun, 29 Nov 2009 15:26:31 +0000
(15:26 +0000)
MmCreateMemoryArea: Make tmpLength an ULONG_PTR, so it dowsn't overflow on 64 bit
svn path=/branches/ros-amd64-bringup/; revision=44319
reactos/ntoskrnl/mm/marea.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/mm/marea.c
b/reactos/ntoskrnl/mm/marea.c
index
19373dc
..
13754a9
100644
(file)
--- a/
reactos/ntoskrnl/mm/marea.c
+++ b/
reactos/ntoskrnl/mm/marea.c
@@
-929,7
+929,7
@@
MmCreateMemoryArea(PMMSUPPORT AddressSpace,
{
PVOID EndAddress;
ULONG Granularity;
- ULONG tmpLength;
+ ULONG
_PTR
tmpLength;
PMEMORY_AREA MemoryArea;
DPRINT("MmCreateMemoryArea(Type 0x%lx, BaseAddress %p, "