Closed Bug 699810 Opened 13 years ago Closed 13 years ago

nsJSTimeoutHandler DEBUG_CC code should null-check result of calling JS_GetObjectFunction

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla10

People

(Reporter: peterv, Assigned: peterv)

Details

Attachments

(1 file)

Attached patch v1Splinter Review
We sometimes have a function object and sometimes a non-function object. JS_GetObjectFunction can deal with that, but we need to null-check its result.
Attachment #571982 - Flags: review?(jst)
Attachment #571982 - Flags: review?(jst) → review+
https://hg.mozilla.org/mozilla-central/rev/ac847cc35842
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: