Closed
Bug 1994375
Opened 1 year ago
Closed 1 year ago
Posion buffer allocator allocations in debug builds
Categories
(Core :: JavaScript: GC, task)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
146 Branch
| Tracking | Status | |
|---|---|---|
| firefox146 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
The buffer allocator doesn't initialize the memory it allocates. With this getter more use we should poison memory on debug builds to catch cases where it is accessed before the caller initializes it.
| Assignee | ||
Comment 1•1 year ago
|
||
This uses DebugOnlyPoison, the same as GC cells allocated by FreeSpan::allocate.
Updated•1 year ago
|
Assignee: nobody → jcoppeard
Status: NEW → ASSIGNED
Pushed by jcoppeard@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/0d38313cbfba
https://hg.mozilla.org/integration/autoland/rev/8876b134ff5f
Poison buffer allocations r=sfink
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox146:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•