Bug 25687 - Missing check for valid function in V8 bindings for toString function for event listeners
Summary: Missing check for valid function in V8 bindings for toString function for eve...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Søren Gjesse
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-11 05:01 PDT by Søren Gjesse
Modified: 2009-05-12 08:54 PDT (History)
1 user (show)

See Also:


Attachments
Patch to check for empty hadles. (3.12 KB, patch)
2009-05-11 07:27 PDT, Søren Gjesse
dglazkov: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Søren Gjesse 2009-05-11 05:01:27 PDT
If creating the function for the toString property on event listeners fails an empty handle is used for the SetHiddenValue call.

See: http://crbug.com/11734.
Comment 1 Søren Gjesse 2009-05-11 07:27:20 PDT
Created attachment 30188 [details]
Patch to check for empty hadles.
Comment 2 Dimitri Glazkov (Google) 2009-05-11 09:13:33 PDT
Comment on attachment 30188 [details]
Patch to check for empty hadles.

r=me
Comment 3 Dimitri Glazkov (Google) 2009-05-12 08:54:58 PDT
Landed as http://trac.webkit.org/changeset/43566.