Closed Bug 1191608 Opened 6 years ago Closed 6 years ago

CanvasRenderingContext2D::DrawImage can read uninitialized pointer

Categories

(Core :: Canvas: 2D, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: erahm, Assigned: lsalzman)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: [CID 1314983])

Attachments

(1 file)

This just initializes element to null, so that in places where it is not needed/assigned, it doesn't have a random garbage value.
Assignee: nobody → lsalzman
Status: NEW → ASSIGNED
Attachment #8644421 - Flags: review?(bas)
Attachment #8644421 - Flags: review?(bas) → review+
Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7c3c9c7875b3
Keywords: checkin-needed
OS: Unspecified → All
Hardware: Unspecified → All
https://hg.mozilla.org/mozilla-central/rev/106c0863db60
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.