Bug 241560
| Summary: | Avoid using hardware JPEG decoding in the WebContent process | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> |
| Component: | Images | Assignee: | Brent Fulgham <bfulgham> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | sabouhallawa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Brent Fulgham
We disable hardware JPEG decoding so that we can block IOSurface uses in the WebContent process. We missed a scenario where using a file picker might need to create an image thumbnail/icon, which now triggers a sandbox violation potentially crashing the WCP.
This patch instructs CoreGraphics to use the software path, similar to how we fixed Bug 238489.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brent Fulgham
<rdar://88717577>
Brent Fulgham
Pull request: https://github.com/WebKit/WebKit/pull/1475
EWS
Committed r295648 (251653@main): <https://commits.webkit.org/251653@main>
Reviewed commits have been landed. Closing PR #1475 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/95422790>