[webkit-changes] [WebKit/WebKit] 9419ea: Bank of America crashes on launch when using Servi...

Per Arne Vollan noreply at github.com
Fri Jan 5 07:41:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9419ea9f50b8a703626fd758b7987cf122e680b9
      https://github.com/WebKit/WebKit/commit/9419ea9f50b8a703626fd758b7987cf122e680b9
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2024-01-05 (Fri, 05 Jan 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm

  Log Message:
  -----------
  Bank of America crashes on launch when using ServiceExtensions XPC services
https://bugs.webkit.org/show_bug.cgi?id=267124
rdar://119993070

Reviewed by Wenson Hsieh.

Fix crash on launch of WebKit processes, if the process launcher is deleted early. Create the XPC connection
after we have verified that we have a process launcher, otherwise we will get a XPC misuse crash because
the connection will be deleted in a resumed state.

* Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm:
(WebKit::ProcessLauncher::launchProcess):

Canonical link: https://commits.webkit.org/272686@main




More information about the webkit-changes mailing list