[Webkit-unassigned] [Bug 43549] New: cross_fuzz: setTimeout/postMessage NULL pointer
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 5 03:05:53 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=43549
Summary: cross_fuzz: setTimeout/postMessage NULL pointer
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: Normal
Priority: P1
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: skylined at chromium.org
CC: eric at webkit.org
Created an attachment (id=63569)
--> (https://bugs.webkit.org/attachment.cgi?id=63569)
Repro
When using the postMessage functions as an argument to the setTimeout/setInterval functions, it gets called without any arguments or "this" object. This is not handled gracefully and causes a NULL deref and subsequent crash:
<script>
setTimeout(window.postMessage);
</script>
id: WebCore::Frame::domWindow ReadAV at NULL (f8cd71f24fff11a7dbb6a39e738fe929)
description: Attempt to read from NULL pointer (+0x330) in WebCore::Frame::domWindow
stack: WebCore::Frame::domWindow
WebCore::V8DOMWindow::postMessageCallback
v8::internal::HandleApiCallHelper<...>
v8::internal::Builtin_HandleApiCall
v8::internal::Invoke
v8::internal::Execution::Call
...
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list