Open the caller process using more access rights in order to be able to allocate memory in the callers address space and to be able to write into the allocated memory.

svn path=/trunk/; revision=58816
This commit is contained in:
Eric Kohl 2013-04-21 20:05:26 +00:00
parent 7029a8be32
commit 3a18230542

View file

@ -59,7 +59,7 @@ LsapCheckLogonProcess(PLSA_API_MSG RequestMsg,
NULL); NULL);
Status = NtOpenProcess(&ProcessHandle, Status = NtOpenProcess(&ProcessHandle,
PROCESS_VM_READ, PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_VM_OPERATION,
&ObjectAttributes, &ObjectAttributes,
&RequestMsg->h.ClientId); &RequestMsg->h.ClientId);
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))