Skip to content
Disclosed report

Assertion failure: obj->containsSlot(slot), at jsobj.cpp:5157

Christian Holler Follow

Originally disclosed on Mozilla

  • Fixed in 12 days
  • Paid in 2.5 years
  • Disclosed after 12 days
Text
The following code asserts on TM tip:

gczeal(2);

Function.prototype.prototype = function() { return 42; }

try {
    foo(Function);
} catch (e) { }

Function.prototype.prototype = function() { return 42; }

I'm not sure, but this might be related to 623301 (at least Function and properties are used here as well). Security locked this because it seems like a GC problem although in my first test, it didn't crash after the assert. Unlock if it's not a security problem :)

The original report as published on Mozilla's Bugzilla, by Christian Holler. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A security bug in JavaScript Engine. Mozilla made it public on 19 January 2011.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

More by Christian Holler

View all

34 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.