Commit 137799cb authored by Michael Karcher's avatar Michael Karcher Committed by Alexandre Julliard

ntdll: Fix ProcessExecuteFlag logic.

parent 89d4402c
......@@ -416,10 +416,10 @@ NTSTATUS WINAPI NtSetInformationProcess(
switch (*(ULONG *)ProcessInformation & (MEM_EXECUTE_OPTION_ENABLE|MEM_EXECUTE_OPTION_DISABLE))
{
case MEM_EXECUTE_OPTION_ENABLE:
enable = FALSE;
enable = TRUE;
break;
case MEM_EXECUTE_OPTION_DISABLE:
enable = TRUE;
enable = FALSE;
break;
default:
return STATUS_INVALID_PARAMETER;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment