Closed Bug 1183093 Opened 9 years ago Closed 9 years ago

Uninitialised value use in Probe::Trigger

Categories

(Core :: XPCOM, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: jseward, Assigned: jseward, Mentored)

Details

Attachments

(2 files)

It appears that ProbeManager::ProbeManager does not give initial
values for mIsActive nor mInitialized.  This appears to lead to an
uninitialised use of mIsActive at xpcom/build/perfprobe.cpp:64.
Both `mIsActive` and `mInitialized` should be initialized to `false` in the constructor.
A possible fix
Attachment #8632782 - Flags: review?(dteller)
Yoric, what is the status on this now?  Is there a different patch available?
The contributor didn't upload his patch, so I'll review yours.
https://hg.mozilla.org/mozilla-central/rev/a9776258f778
Assignee: nobody → jseward
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: