mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 11:24:35 -05:00
Add --change-stack-guard-on-fork=disable to fix stack smashing (#1736)
* Add --change-stack-guard-on-fork=disable to fix stack smashing See chromiumembedded/cef#3912 * Add PR comments
This commit is contained in:
@@ -527,7 +527,17 @@ fun applicationSetup() {
|
|||||||
}
|
}
|
||||||
appHandler(
|
appHandler(
|
||||||
KCEF.AppHandler(
|
KCEF.AppHandler(
|
||||||
arrayOf("--disable-gpu", "--off-screen-rendering-enabled", "--disable-dev-shm-usage", "--enable-widevine-cdm"),
|
arrayOf(
|
||||||
|
"--disable-gpu",
|
||||||
|
// #1486 needed to be able to render without a window
|
||||||
|
"--off-screen-rendering-enabled",
|
||||||
|
// #1489 since /dev/shm is restricted in docker (OOM)
|
||||||
|
"--disable-dev-shm-usage",
|
||||||
|
// #1723 support Widevine (incomplete)
|
||||||
|
"--enable-widevine-cdm",
|
||||||
|
// #1736 JCEF does implement stack guards properly
|
||||||
|
"--change-stack-guard-on-fork=disable",
|
||||||
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user