-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.0.4
-
Component/s: JavaScript
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
setFunction() should check the return value of _compileFunction() before calling JS_GetFunctionObject(). _compileFunction() will return null if JS_CompileFunction() fails.
setFunction() in engine_spidermonkey.cpp L1460 needs to check for a null value before calling JS_GetFunctionObject().