Skip to content

Commit

Permalink
Fixed default value for W^X enabling option.
Browse files Browse the repository at this point in the history
  • Loading branch information
Quickern committed Apr 24, 2024
1 parent 70036f8 commit b6857a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/utilcode/executableallocator.cpp
Expand Up @@ -261,7 +261,7 @@ HRESULT ExecutableAllocator::StaticInitialize(FatalErrorHandler fatalErrorHandle
#endif

g_fatalErrorHandler = fatalErrorHandler;
g_isWXorXEnabled = Configuration::GetKnobBooleanValue(W("System.Runtime.EnableWriteXorExecute"), CLRConfig::EXTERNAL_EnableWriteXorExecute);
g_isWXorXEnabled = Configuration::GetKnobBooleanValue(W("System.Runtime.EnableWriteXorExecute"), CLRConfig::EXTERNAL_EnableWriteXorExecute, TRUE);
g_instance = new (nothrow) ExecutableAllocator();
if (g_instance == NULL)
{
Expand Down

0 comments on commit b6857a1

Please sign in to comment.