Open Bug 672373 Opened 13 years ago Updated 2 years ago

Blit JS_FREE_PATTERN over memory being freed in js_free, on platforms that support malloc_size

Categories

(Core :: JavaScript Engine, defect)

Other Branch
defect

Tracking

()

People

(Reporter: jorendorff, Unassigned)

Details

Attachments

(1 file)

Attached patch WIP 1Splinter Review
On Windows, debug builds fill freed memory with garbage. I like it. This recently caught a read-after-free bug for me. So here's a crude hack to do the same on Mac. I tried it, and it doesn't slow things down very much.

The configury may not be quite up to snuff.
Assignee: general → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: