Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a68ad5db5c8327163866f7f1ece33604d2ac5c7d
https://github.com/WebKit/WebKit/commit/a68ad5db5c8327163866f7f1ece33604d2ac5c7d
Author: Brent Fulgham <[email protected]>
Date: 2024-01-29 (Mon, 29 Jan 2024)
Changed paths:
M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm
Log Message:
-----------
Protect WebProcess::unblockServicesRequiredByAccessibility from attempting to
consume nullptr sandbox extensions
https://bugs.webkit.org/show_bug.cgi?id=268314
<rdar://121746329>
Reviewed by Per Arne Vollan.
The code in WebProcess::unblockServicesRequiredByAccessibility assumes that it
will always work with non-nullptr Sandbox Extensions. However, it's possible
for the SandboxExtension::create() method to return nullptr, so we should harden
this code to avoid crashing under such conditions.
* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::unblockServicesRequiredByAccessibility):
Canonical link: https://commits.webkit.org/273719@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes