Bug 268314
Summary: | Protect WebProcess::unblockServicesRequiredByAccessibility from attempting to consume nullptr sandbox extensions | ||
---|---|---|---|
Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> |
Component: | WebKit2 | Assignee: | Brent Fulgham <bfulgham> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | kkinnunen, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Brent Fulgham
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.
<rdar://121746329>
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brent Fulgham
Pull request: https://github.com/WebKit/WebKit/pull/23442
EWS
Committed 273719@main (a68ad5db5c83): <https://commits.webkit.org/273719@main>
Reviewed commits have been landed. Closing PR #23442 and removing active labels.