Closed Bug 1569608 Opened 5 years ago Closed 5 years ago

Rooting hazard creating realm instrumentation holder objects

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox68 --- unaffected
firefox69 --- unaffected
firefox70 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

The RealmInstrumentation objects created and populated with GC pointers before the holder object is created. If a GC happens at this point the contents of the object will not be traced.

Oops, I missed this in the final version. I think we just need to use a Rooted<UniquePtr<RealmInstrumentation> >?

(In reply to Ted Campbell [:tcampbell] from comment #1)
Yes, that works.

Group: javascript-core-security → core-security-release
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Group: core-security-release
Has Regression Range: --- → yes
Keywords: regression
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: