Closed
Bug 1364552
Opened 7 years ago
Closed 6 years ago
Delete unused code in ImageBitMapColorUtils.cpp
Categories
(Core :: Graphics: Canvas2D, enhancement)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: decoder, Assigned: lorena9921)
Details
(Keywords: sec-audit, sec-want, Whiteboard: [adv-main59-])
Attachments
(1 file)
Static analysis barked on this function due to the use of unchecked multiplication flowing into a memcpy: http://searchfox.org/mozilla-central/rev/cd8c561106d804e26bc09389f18f361846d005eb/dom/canvas/ImageBitmapColorUtils.cpp#419 Jeff mentioned that this was used by the code we disabled due to pwn2own and thinks it should just be deleted from the codebase. It isn't used anywhere except in a gtest. Filing this bug to make sure the deletion happens.
Comment hidden (mozreview-request) |
Reporter | ||
Comment 2•7 years ago
|
||
Comment on attachment 8905546 [details] Bug 1364552 - Deleted unused RGB24Copy function, and corresponding macros and tests. Forwarding review, as I am not a peer for this part of the codebase.
Attachment #8905546 -
Flags: review?(choller) → review?(lsalzman)
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8905546 [details] Bug 1364552 - Deleted unused RGB24Copy function, and corresponding macros and tests. https://reviewboard.mozilla.org/r/177342/#review184584
Attachment #8905546 -
Flags: review?(lsalzman) → review+
Comment 4•7 years ago
|
||
Lorena, do you plan to land this, or do you need someone to land this for you?
Flags: needinfo?(lorena9921)
Updated•6 years ago
|
Flags: needinfo?(lorena9921) → needinfo?(jwatt)
Pushed by jwatt@jwatt.org: https://hg.mozilla.org/integration/autoland/rev/aaa8f66aac3b Deleted unused RGB24Copy function, and corresponding macros and tests. r=lsalzman
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/aaa8f66aac3b
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•6 years ago
|
Flags: needinfo?(jwatt)
Updated•6 years ago
|
Whiteboard: [adv-main59-]
Updated•6 years ago
|
Assignee: nobody → lorena9921
You need to log in
before you can comment on or make changes to this bug.
Description
•