mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
Fix Magnus change. Part II.
svn path=/trunk/; revision=32578
This commit is contained in:
@@ -962,9 +962,6 @@ MmSecureVirtualMemory(PVOID Address,
|
||||
SIZE_T Length,
|
||||
ULONG Mode)
|
||||
{
|
||||
|
||||
if ( ( (DWORD)Address + Length > (DWORD)MmHighestUserAddress) ||
|
||||
( (DWORD)Address + Length <= (DWORD)Address ) )
|
||||
/* Only works for user space */
|
||||
if (((ULONG_PTR)Address > (ULONG_PTR)Address + Length) ||
|
||||
((ULONG_PTR)MmHighestUserAddress < (ULONG_PTR)Address + Length))
|
||||
|
||||
Reference in New Issue
Block a user