Closed Bug 1309484 Opened 3 years ago Closed 3 years ago

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

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: andi, Assigned: andi)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: CID 1373439)

Attachments

(1 file)

The Static Analysis tool Coverity detected that member variable |mPendingTextTrackChange| is not initialised in all CTORs.
Comment on attachment 8800145 [details]
Bug 1309484 - initialise mPendingTextTrackChange in all constructors of TextTrackList.

https://reviewboard.mozilla.org/r/85152/#review84962

Thanks!
Attachment #8800145 - Flags: review?(cpearce) → review+
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cf7649531c81
initialise mPendingTextTrackChange in all constructors of TextTrackList. r=cpearce
https://hg.mozilla.org/mozilla-central/rev/cf7649531c81
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.