mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
- MmUnmapViewOfSection: Unlock address space before notifying debugger. Fixes a case where OllyDbg deadlocks in a GateWait while trying to read virtual memory.
svn path=/trunk/; revision=41356
This commit is contained in:
parent
afe9096dba
commit
999d0e50c9
1 changed files with 2 additions and 1 deletions
|
@ -4148,10 +4148,11 @@ MmUnmapViewOfSection(PEPROCESS Process,
|
|||
Status = MmUnmapViewOfSegment(AddressSpace, BaseAddress);
|
||||
}
|
||||
|
||||
MmUnlockAddressSpace(AddressSpace);
|
||||
|
||||
/* Notify debugger */
|
||||
if (ImageBaseAddress) DbgkUnMapViewOfSection(ImageBaseAddress);
|
||||
|
||||
MmUnlockAddressSpace(AddressSpace);
|
||||
return(STATUS_SUCCESS);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue