mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-13 10:06:28 +01:00
5ef0fb8ac8
- SSE3 is now required on x86 processors (see https://crbug.com/1123353).
18 lines
799 B
Diff
18 lines
799 B
Diff
diff --git sandbox/policy/win/sandbox_win.cc sandbox/policy/win/sandbox_win.cc
|
|
index 8ae341c38aac..c67b5acc89e7 100644
|
|
--- sandbox/policy/win/sandbox_win.cc
|
|
+++ sandbox/policy/win/sandbox_win.cc
|
|
@@ -1004,8 +1004,11 @@ ResultCode SandboxWin::StartSandboxedProcess(
|
|
}
|
|
// TODO(wfh): Relax strict handle checks for network process until root cause
|
|
// for this crash can be resolved. See https://crbug.com/939590.
|
|
- if (sandbox_type != SandboxType::kNetwork)
|
|
+ if (!launcher_process_command_line.HasSwitch("win-rt-app") &&
|
|
+ sandbox_type != SandboxType::kNetwork) {
|
|
+ // Don't enable this mitigation in WinRT apps. See issue #2274.
|
|
mitigations |= MITIGATION_STRICT_HANDLE_CHECKS;
|
|
+ }
|
|
|
|
result = policy->SetDelayedProcessMitigations(mitigations);
|
|
if (result != SBOX_ALL_OK)
|