This commit is contained in:
DavidXanatos 2022-10-19 08:40:32 +02:00
parent 3d58fe8d3f
commit 44d59a4605
2 changed files with 14 additions and 0 deletions

View File

@ -22,6 +22,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Fixed the wrong write of OpenWinClass setting UI [#2347](https://github.com/sandboxie-plus/Sandboxie/pull/2347) (thanks okrc)
- Fixed issue about Local Template [#2338](https://github.com/sandboxie-plus/Sandboxie/pull/2338) (thanks okrc)
- fixed Edge WebView compatybility issue [#2350](https://github.com/sandboxie-plus/Sandboxie/issues/2350)
- added provisional workaround for firefox 106 content process sandbox issue
### Changed
- reworked API compatibility check

View File

@ -792,6 +792,19 @@ _FX BOOL Proc_CreateProcessInternalW(
}
}
//
// Compatybility hack for firefox 106.x
//
if (Dll_ImageType == DLL_IMAGE_MOZILLA_FIREFOX && SbieApi_QueryConfBool(NULL, L"FirefoxHack1", TRUE)) {
if (lpCommandLine
&& wcsstr(lpCommandLine, L"-contentproc")
&& wcsstr(lpCommandLine, L"-sandboxingKind 1") ) {
SetLastError(ERROR_ACCESS_DENIED);
return FALSE;
}
}
//
// hack: recent versions of Flash Player use the Chrome sandbox
// architecture which conflicts with our restricted process model