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:
Constantin Piber
2025-10-25 00:38:04 +02:00
committed by GitHub
parent b4db9ebdb0
commit d23d10601e

View File

@@ -527,7 +527,17 @@ fun applicationSetup() {
}
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",
),
),
)