[Webkit-unassigned] [Bug 43140] New: MessageChannel doesn't like navigating it's window
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 28 12:56:19 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=43140
Summary: MessageChannel doesn't like navigating it's window
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
Blocks: 42959
Repro:
<script>
targetWindow = window.open("");
channel = new targetWindow.MessageChannel(new Array);
targetWindow.location.href='data:text/html;';
setTimeout(function () {
channel.port2.start();
}, 100);
</script>
It appears the MessageChannel doesn't like it if you navigate the window it comes from and then try to access it. This is probably just a NULL pointer crash, but I have seen similar bugs that were use-after-free, so marking as security just in case.
id: WebCore::ScriptExecutionContext::processMessagePortMessagesSoon ReadAV at NULL (67f8138865f436968bd4e2c306c9ea48)
description: Attempt to read from NULL pointer in WebCore::ScriptExecutionContext::processMessagePortMessagesSoon
stack: WebCore::ScriptExecutionContext::processMessagePortMessagesSoon
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