ntdll: Fix the ProcessDebugPort information length in NtQueryInformationProcess().

This commit is contained in:
Henri Verbeet 2010-03-14 21:53:26 +01:00 committed by Alexandre Julliard
parent 4b671f4d54
commit 4ce43cd919
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ NTSTATUS WINAPI NtQueryInformationProcess(
case ProcessDebugPort:
/* "These are not the debuggers you are looking for." *
* set it to 0 aka "no debugger" to satisfy copy protections */
len = 4;
len = sizeof(DWORD_PTR);
if (ProcessInformationLength == len)
memset(ProcessInformation, 0, ProcessInformationLength);
else