jemalloc: fix uninitialized 'mapped' variable

RESOLVED FIXED in mozilla26

Status

()

Core
Memory Allocator
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: dougc, Assigned: dougc)

Tracking

unspecified
mozilla26
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
The 'mapped' variable in function 'malloc_print_stats' is uninitialized. Looks like it should be initialized to zero.
(Assignee)

Comment 1

5 years ago
Created attachment 794990 [details] [diff] [review]
Initialize 'mapped' to zero.
Attachment #794990 - Flags: review?(justin.lebar+bug)
Comment on attachment 794990 [details] [diff] [review]
Initialize 'mapped' to zero.

Whoops.
Attachment #794990 - Flags: review?(justin.lebar+bug) → review+
(Assignee)

Updated

5 years ago
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/3650bc9fa36b
Assignee: nobody → dtc-moz
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.