RESOLVED FIXED 63885
Null deref accessing CustomEvent.detail
https://bugs.webkit.org/show_bug.cgi?id=63885
Summary Null deref accessing CustomEvent.detail
Sam Weinig
Reported 2011-07-03 20:21:09 PDT
The ScriptValue m_detail in the CustomEvent class is initialized to null (rather than jsNull()) which can lead to a null deref if it is access before calling initCustomEvent. javascript:alert(document.createEvent("CustomEvent").detail) should do the trick.
Attachments
Patch (2.92 KB, patch)
2011-07-05 13:07 PDT, Sam Weinig
andersca: review+
Alexey Proskuryakov
Comment 1 2011-07-03 23:34:06 PDT
It does, it does! Repro crash -> P1
Sam Weinig
Comment 2 2011-07-05 13:07:48 PDT
Sam Weinig
Comment 3 2011-07-05 13:09:42 PDT
Sam Weinig
Comment 4 2011-07-05 13:51:12 PDT
Note You need to log in before you can comment on or make changes to this bug.