Closed
Bug 1270811
Opened 8 years ago
Closed 8 years ago
[Static Analysis][Uninitialized pointer field] In function GraphStoreInfo::GraphStoreInfo
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: andi, Assigned: andi)
References
(Blocks 1 open bug)
Details
(Keywords: coverity, Whiteboard: CID 1358980)
Attachments
(1 file)
The Static Analysis tool Coverity added that variable |current_| is not initialized in constructor. As we would like to adopt a more RAII and to get the code ready to integrate this clang-plugin: https://bugzilla.mozilla.org/show_bug.cgi?id=525063 we should initialized the pointer will nullptr.
Assignee | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/51069/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/51069/
Assignee | ||
Updated•8 years ago
|
Attachment #8749619 -
Flags: review?(jdemooij)
Updated•8 years ago
|
Attachment #8749619 -
Flags: review?(jdemooij) → review?(hv1989)
Updated•8 years ago
|
Attachment #8749619 -
Flags: review?(hv1989) → review+
Comment 2•8 years ago
|
||
Comment on attachment 8749619 [details] MozReview Request: Bug 1270811 - initialize |current_| in GraphStoreInfo. r?jdemooij https://reviewboard.mozilla.org/r/51069/#review48327 Definitely!
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7bab57b555e0
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•