GC related crash/asserts: isFunctionFrame() / obj->numSlots() >= first + count
Originally disclosed on Mozilla
- Fixed in 8 days
- Paid in 2.6 years
- Disclosed after 8 days
Created attachment 500391
Shell test case for first assertion
The attached two testcases trigger two (likely related) assertions with the shell:
Assertion failure: isFunctionFrame(), at ../jsinterp.h:312
Assertion failure: obj->numSlots() >= first + count, at jsfun.cpp:1370
The second assertion isn't always triggered, sometimes also the first one shows up instead. For a reliable run, try running in valgrind also.
Both versions will crash when continuing after the assertions.
The bug might be related to 617139 because these examples also involve infinite recursion and GC triggering. The assertions are different though.
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 doS bug in JavaScript Engine. Mozilla made it public on 8 January 2011.
About DoS
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.