mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
[NTOS]
- Fix a typo in region size calculation of special memory areas, which unbreaks OllyDbg & co. Thanks Michael Martin for the hint. See issue #5692 for more details. svn path=/trunk/; revision=50109
This commit is contained in:
parent
d1d1894231
commit
ad1b414a31
1 changed files with 1 additions and 1 deletions
|
@ -2379,7 +2379,7 @@ MiQueryMemoryBasicInformation(IN HANDLE ProcessHandle,
|
|||
MemoryInfo.AllocationBase = (PCHAR)MM_HIGHEST_VAD_ADDRESS + 1;
|
||||
MemoryInfo.State = MEM_RESERVE;
|
||||
MemoryInfo.Protect = PAGE_NOACCESS;
|
||||
MemoryInfo.RegionSize = (ULONG_PTR)MemoryInfo.AllocationBase - (ULONG_PTR)Address;
|
||||
MemoryInfo.RegionSize = (ULONG_PTR)MM_HIGHEST_USER_ADDRESS + 1 - (ULONG_PTR)Address;
|
||||
}
|
||||
|
||||
/* Return the data, NtQueryInformation already probed it*/
|
||||
|
|
Loading…
Reference in a new issue