Closed Bug 1273095 Opened 4 years ago Closed 4 years ago

[Static Analysis][Uninitialized scalar field] In constructor BasicPlanarYCbCrImage

Categories

(Core :: Graphics, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: andi, Assigned: andi)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: CID 1361792 )

Attachments

(1 file)

The Static Analysis tool Coverity added that variable |mStride| is uninitialized. As we are trying to push for a more RAII architecture and we want to prepare our code for this clang-plugin - 525063. We should initialize these member variables.
Summary: [Static Analysis][Uninitialized scalar field] In constructor → [Static Analysis][Uninitialized scalar field] In constructor BasicPlanarYCbCrImage
Attachment #8752758 - Flags: review?(jmuizelaar) → review+
Comment on attachment 8752758 [details]
MozReview Request: Bug 1273095 - initialize |mStride|. r?jrmuizel

https://reviewboard.mozilla.org/r/52782/#review50058
https://hg.mozilla.org/mozilla-central/rev/92f26e681678
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in before you can comment on or make changes to this bug.