Updated kernel32-SetProcessDEPPolicy patchset

This commit is contained in:
Alistair Leslie-Hughes 2019-08-19 10:09:36 +10:00
parent 3813f414ed
commit 31157f5ed4

View File

@ -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;