TraceMallocOpenLogFile lets sites create files with chosen names, at chosen locations

RESOLVED FIXED in mozilla2.0b7

Status

()

defect
--
major
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: jruderman, Assigned: dbaron)

Tracking

(Blocks 2 bugs, {testcase})

Trunk
mozilla2.0b7
x86
macOS
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [sg:moderate] --enable-trace-malloc builds only)

Attachments

(2 attachments)

Reporter

Description

9 years ago
No description provided.
This requires more than a debug build; it requires a build with --enable-trace-malloc, which is not on by default even for debug builds.
TraceMallocDumpAllocations has the same issue.
Reporter

Comment 3

9 years ago
That explains why I started seeing this when I switched from local debug builds to Tinderbox debug builds.
Probably the best thing to do here is make these functions check for UniversalXPConnect.
Posted patch patch — — Splinter Review
I think we're better off protecting people who build with trace-malloc.  If somebody needs these somewhere UniversalXPConnect is hard to get, they can always comment them out.
Assignee: nobody → dbaron
Status: NEW → ASSIGNED
Attachment #481344 - Flags: review?
Attachment #481344 - Flags: review?(jst) → review+
http://hg.mozilla.org/mozilla-central/rev/5ba88998be23
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Reporter

Updated

9 years ago
Group: core-security
Whiteboard: [sg:moderate] → [sg:moderate] --enable-trace-malloc builds only
Target Milestone: mozilla2.0b8 → mozilla2.0b7
You need to log in before you can comment on or make changes to this bug.