[Webkit-unassigned] [Bug 169620] New: Add a null check in VMTraps::willDestroyVM() to handle a race condition.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 14 12:12:25 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=169620
Bug ID: 169620
Summary: Add a null check in VMTraps::willDestroyVM() to handle
a race condition.
Classification: Unclassified
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mark.lam at apple.com
There exists a race between VMTraps::willDestroyVM() (which removed SignalSenders from its m_signalSenders list) and SignalSender::send() (which removes itself from the list). In the event that SignalSender::send() removes itself between the time that VMTraps::willDestroyVM() checks if m_signalSenders is empty and the time it takes a sender from m_signalSenders, VMTraps::willDestroyVM() may end up with a NULL sender pointer. The fix is add the missing null check before using the sender pointer.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170314/403722b3/attachment.html>
More information about the webkit-unassigned
mailing list