[Webkit-unassigned] [Bug 234169] New: Darwin const ShareableBitmap::Handle gets invalidated during IPC encoding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 10 12:38:38 PST 2021


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

            Bug ID: 234169
           Summary: Darwin const ShareableBitmap::Handle gets invalidated
                    during IPC encoding
           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: kkinnunen at apple.com
                CC: kkinnunen at apple.com

const ShareableBitmap::Handle gets invalidated during IPC encoding

.. via SharedMemory::Handle IPC encoding transferring the send right to the receiver.

ShareableBitmap::Handle&&, SharedMemory::Handle&& should be transferred this way

const ShareableBitmap::Handle, const SharedMemory::Handle should be transferred by copying

Otherwise causes bugs when handle is held and sent multiple times, as in bug  231009

-- 
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/20211210/ba0ae637/attachment.htm>


More information about the webkit-unassigned mailing list