[webkit-changes] [WebKit/WebKit] ece697: Close XPC connection to OpenDirectory before revok...

Per Arne Vollan noreply at github.com
Wed May 22 19:13:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ece697a8bb31fb41166345f9b24a60496eee9f45
      https://github.com/WebKit/WebKit/commit/ece697a8bb31fb41166345f9b24a60496eee9f45
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2024-05-22 (Wed, 22 May 2024)

  Changed paths:
    M Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm

  Log Message:
  -----------
  Close XPC connection to OpenDirectory before revoking sandbox extension
https://bugs.webkit.org/show_bug.cgi?id=274557
rdar://128451478

Reviewed by Chris Dumez.

Close XPC connection to OpenDirectory before revoking sandbox extension. Otherwise,
another thread trying to write on a temporarily open connection could cause a crash,
because the sandbox extension has been revoked.

* Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm:
(WebKit::AuxiliaryProcess::openDirectoryCacheInvalidated):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list