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

RESOLVED FIXED in mozilla2.0b7

Status

()

--
major
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: jruderman, Assigned: dbaron)

Tracking

(Blocks: 2 bugs, {testcase})

Trunk
mozilla2.0b7
x86
Mac OS X
testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

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

Attachments

(2 attachments)

(Reporter)

Description

8 years ago
Created attachment 478906 [details]
testcase (requires a debug build)
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.
(Reporter)

Comment 3

8 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.
Created attachment 481344 [details] [diff] [review]
patch

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: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
(Reporter)

Updated

8 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.