don't request write access in NtReadVirtualMemory, this should fix the listdlls.exe issues

svn path=/trunk/; revision=14813
This commit is contained in:
Thomas Bluemel 2005-04-26 09:40:30 +00:00
parent 869e1792b8
commit 72612ded64

View file

@ -504,7 +504,7 @@ NtReadVirtualMemory(IN HANDLE ProcessHandle,
Buffer,NumberOfBytesToRead);
Status = ObReferenceObjectByHandle(ProcessHandle,
PROCESS_VM_WRITE,
PROCESS_VM_READ,
NULL,
PreviousMode,
(PVOID*)(&Process),