Closed Bug 1590731 Opened 6 years ago Closed 6 years ago

TypedArray indices not properly handled in megamorphic stubs for [[Get]] and [[Has]]

Categories

(Core :: JavaScript Engine: JIT, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: anba, Assigned: anba)

References

Details

Attachments

(1 file)

GetNativeDataPropertyPure and HasNativeDataPropertyPure shouldn't read past possible TypedArray indices.

TypedArrays intercept any TypedArray indices, so we shouldn't read past these
indices in the megamorphic stubs.

Priority: -- → P1
Pushed by rmaries@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/992b39c41212 Don't read past TypedArray indices in megamorphic stubs. r=jandem
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: