Closed Bug 1273099 Opened 8 years ago Closed 8 years ago

[Static Analysis][Uninitialized pointer field] In constructor ASTSerializer

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: andi, Assigned: andi)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: CID 1361788)

Attachments

(1 file)

The Static Analysis tool Coverity added that pointer |parser| 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.
Comment on attachment 8752763 [details]
MozReview Request: Bug 1273099 - initialize |parser|. r?jorendorff

https://reviewboard.mozilla.org/r/52792/#review49770
Attachment #8752763 - Flags: review?(jorendorff) → review+
https://hg.mozilla.org/mozilla-central/rev/66210b73e337
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.

Attachment

General

Creator:
Created:
Updated:
Size: