[Webkit-unassigned] [Bug 186211] New: Make sure that the fencePort received over IPC has the expected disposition (SEND)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 1 16:12:43 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=186211

            Bug ID: 186211
           Summary: Make sure that the fencePort received over IPC has the
                    expected disposition (SEND)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

We shouldn't blindly assume that the Mach Send Right we receive from the UIProcess in WebPage::setTopContentInsetFenced (and VideoFullscreenManager::setVideoLayerFrameFenced) will have the expected MACH_MSG_TYPE_MOVE_SEND disposition.

Instead, we should check that it meets expectations. If we discover a discrepancy, we should discard the message without touching the mach port contents.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180601/ef7bbdcb/attachment.html>


More information about the webkit-unassigned mailing list