diff options
Diffstat (limited to 'src/burn/stub/stub.cpp')
| -rw-r--r-- | src/burn/stub/stub.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/burn/stub/stub.cpp b/src/burn/stub/stub.cpp index d8cee9f1..ea5d88f0 100644 --- a/src/burn/stub/stub.cpp +++ b/src/burn/stub/stub.cpp | |||
| @@ -34,6 +34,8 @@ int WINAPI wWinMain( | |||
| 34 | L"feclient.dll", // unsafely loaded by DecryptFile(). | 34 | L"feclient.dll", // unsafely loaded by DecryptFile(). |
| 35 | }; | 35 | }; |
| 36 | 36 | ||
| 37 | AppSetDefaultProcessMitigationPolicy(POLICY_BURN_REGISTRY_PATH); | ||
| 38 | |||
| 37 | // Best effort attempt to get our file handle as soon as possible. | 39 | // Best effort attempt to get our file handle as soon as possible. |
| 38 | hr = PathForCurrentProcess(&sczPath, NULL); | 40 | hr = PathForCurrentProcess(&sczPath, NULL); |
| 39 | if (SUCCEEDED(hr)) | 41 | if (SUCCEEDED(hr)) |
