| Summary: | Avoid re-encoding action menu image data | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||
| Component: | New Bugs | Assignee: | Tim Horton <thorton> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | andersca, ap, bdakin, conrad_shultz, sam | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Tim Horton
2014-11-17 18:26:43 PST
Created attachment 241756 [details]
Patch
Do we want to mimic any of this in WK1 code? WebActionMenuController also still hardcodes jpg even though it probably already have enough information to avoid that. (In reply to comment #2) > Do we want to mimic any of this in WK1 code? WebActionMenuController also > still hardcodes jpg even though it probably already have enough information > to avoid that. This patch fixes both WebKits. Comment on attachment 241756 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241756&action=review > Source/WebKit/mac/WebView/WebActionMenuController.mm:415 > + RefPtr<SharedBuffer> buffer = image->data(); Can buffer ever be null here? Does this bring image codec code execution vulnerabilities into UI process? |