[LSASRV]
authorEric Kohl <eric.kohl@reactos.org>
Sun, 21 Apr 2013 20:05:26 +0000 (20:05 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 21 Apr 2013 20:05:26 +0000 (20:05 +0000)
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

reactos/dll/win32/lsasrv/authport.c

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