RESOLVED FIXED 138817
Avoid re-encoding action menu image data
https://bugs.webkit.org/show_bug.cgi?id=138817
Summary Avoid re-encoding action menu image data
Tim Horton
Reported 2014-11-17 18:26:43 PST
Avoid re-encoding action menu image data
Attachments
Patch (15.29 KB, patch)
2014-11-17 18:27 PST, Tim Horton
andersca: review+
Tim Horton
Comment 1 2014-11-17 18:27:20 PST
Beth Dakin
Comment 2 2014-11-17 20:11:00 PST
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.
Tim Horton
Comment 3 2014-11-17 23:30:55 PST
(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.
Anders Carlsson
Comment 4 2014-11-18 11:03:27 PST
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?
Tim Horton
Comment 5 2014-11-18 14:55:07 PST
Alexey Proskuryakov
Comment 6 2014-11-18 22:10:46 PST
Does this bring image codec code execution vulnerabilities into UI process?
Note You need to log in before you can comment on or make changes to this bug.