cef/patch/patches/win_rt_2274.patch
Marshall Greenblatt a584bd187b Update to Chromium version 88.0.4324.0 (#827102)
- Mac: Xcode 12.2 and the MacOS 11.0 SDK are now required for building.
- MacOS 10.10 (Yosemite) is no longer supported (see https://crbug.com/1126056).
- Flash is no longer supported (see https://www.chromium.org/flash-roadmap).
2020-12-04 15:43:33 -05:00

18 lines
799 B
Diff

diff --git sandbox/policy/win/sandbox_win.cc sandbox/policy/win/sandbox_win.cc
index eef1a60d348e..eabb92072c2c 100644
--- sandbox/policy/win/sandbox_win.cc
+++ sandbox/policy/win/sandbox_win.cc
@@ -1003,8 +1003,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)