Closed Bug 1994375 Opened 1 year ago Closed 1 year ago

Posion buffer allocator allocations in debug builds

Categories

(Core :: JavaScript: GC, task)

task

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.

This uses DebugOnlyPoison, the same as GC cells allocated by FreeSpan::allocate.

Assignee: nobody → jcoppeard
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: