Closed
Bug 624518
Opened 13 years ago
Closed 13 years ago
JM: Assertion failure: !isTypeKnown(), at ../methodjit/RematInfo.h:167
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | .x+ |
People
(Reporter: jandem, Assigned: dvander)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
1.77 KB,
patch
|
cdleary
:
review+
|
Details | Diff | Splinter Review |
This test case: --- function f() { var a = new Int32Array(); for (var i = 0; i < 10; i++) { a[4] = "" + null; } } f(); --- Triggers this assert with -m: Assertion failure: !isTypeKnown(), at ../methodjit/RematInfo.h:167
Reporter | ||
Comment 1•13 years ago
|
||
Btw, this does not crash in a release build. But using the wrong type tag (?) may be exploitable somehow, so marking security sensitive to be safe.
![]() |
Assignee | |
Updated•13 years ago
|
blocking2.0: --- → .x
![]() |
Assignee | |
Comment 2•13 years ago
|
||
Thanks for the precaution, Jan. Silly bug, I forgot to eliminate the type guard if the type is known. The only security implication is that with some acrobatics you could get the address of any GC thing as an integer. But there's no arbitrary reads or writes.
Updated•13 years ago
|
Attachment #502608 -
Flags: review?(cdleary) → review+
![]() |
Assignee | |
Comment 3•13 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/64139fb1b3fe
Whiteboard: fixed-in-tracemonkey
Updated•13 years ago
|
Group: core-security
Comment 4•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/64139fb1b3fe
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•