Closed Bug 424991 Opened 16 years ago Closed 16 years ago

JS_GetScopeChain and JS_NewScriptObject should CHECK_REQUEST(cx)

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.1a2

People

(Reporter: jorendorff, Assigned: jorendorff)

Details

Attachments

(1 file)

JS_GetScopeChain calls JS_ReportErrorNumber; it also calls js_CloneBlockObject which uses js_NewObject.

JS_NewScriptObject directly calls js_NewObject.
Attached patch v1Splinter Review
Here's the (trivial) patch.
Assignee: general → jorendorff
Status: NEW → ASSIGNED
Attachment #314334 - Flags: review?(crowder)
Attachment #314334 - Flags: review?(crowder) → review+
Pushed to mozilla-central: http://hg.mozilla.org/mozilla-central/index.cgi/rev/d502ead5d86f
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1a2
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: