Skip to content

Commit 32a33ae

Browse files
committed
[MERGE #5991 @LouisLaf] Not all Win10 processes have CFG
Merge pull request #5991 from LouisLaf:cfg_fail My previous CFG change assumed that for Chakra.dll (which only runs on Win10), CFG had to be enabled. This is true for Edge, but not other processes as CFG is an opt-in feature.
2 parents 39f9727 + 55e4281 commit 32a33ae

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Common/Core/GlobalSecurityPolicy.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,6 @@ GlobalSecurityPolicy::GlobalSecurityPolicy()
101101
{
102102
RaiseFailFastException(nullptr, nullptr, FAIL_FAST_GENERATE_EXCEPTION_ADDRESS);
103103
}
104-
105-
#if defined (NTBUILD)
106-
AssertOrFailFast(readOnlyData.isCFGEnabled);
107-
#endif
108104
}
109105

110106
#endif //_CONTROL_FLOW_GUARD

0 commit comments

Comments
 (0)