ASSERTION: This only works on nsISupports classes! and segfault
- Fixed in 4 days
- Paid in 5 months
- Disclosed after 4 days
Running
new Worker("http://base.com") instanceof Components.interfaces.nsIArray
in a mochitest will hit
NS_ASSERTION(mozilla::dom::DOMJSClass::FromJSClass(
js::GetObjectJSClass(obj))->mDOMObjectIsISupports,
"This only works on nsISupports classes!");
at <http://mxr.mozilla.org/mozilla-central/source/js/xpconnect/src/XPCJSID.cpp#484>. We then unwrap the object to nsISupports and try to call QueryInterface on it, and segfault in nsWrapperCache::WrapObject.
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 critical-severity security bug in XPConnect. Mozilla made it public on 23 August 2012 as CVE-2012-3989.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.