From 31157f5ed4e4d0dd6f601424b108829ed11c4cc1 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Mon, 19 Aug 2019 10:09:36 +1000 Subject: [PATCH] Updated kernel32-SetProcessDEPPolicy patchset --- .../0001-kernel32-Implement-SetProcessDEPPolicy.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/kernel32-SetProcessDEPPolicy/0001-kernel32-Implement-SetProcessDEPPolicy.patch b/patches/kernel32-SetProcessDEPPolicy/0001-kernel32-Implement-SetProcessDEPPolicy.patch index d8a7c764..324cb8e4 100644 --- a/patches/kernel32-SetProcessDEPPolicy/0001-kernel32-Implement-SetProcessDEPPolicy.patch +++ b/patches/kernel32-SetProcessDEPPolicy/0001-kernel32-Implement-SetProcessDEPPolicy.patch @@ -32,7 +32,7 @@ index 992437047..e10bfd95a 100644 + + TRACE("(%d)\n", newDEP); + -+ if (is_wow64 || system_DEP_policy != OptIn && system_DEP_policy != OptOut ) ++ if (is_wow64 || (system_DEP_policy != OptIn && system_DEP_policy != OptOut) ) + { + SetLastError(ERROR_ACCESS_DENIED); + return FALSE;