[Webkit-unassigned] [Bug 226189] New: _WKRemoteObjectRegistry should not call completion handlers if block signatures don't match or can't be found

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 24 15:11:53 PDT 2021


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

            Bug ID: 226189
           Summary: _WKRemoteObjectRegistry should not call completion
                    handlers if block signatures don't match or can't be
                    found
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: macOS 11
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: julian_a_gonzalez at apple.com
                CC: rniwa at webkit.org

There is code in _WKRemoteObjectRegistry's _invokeMethod() to check reply blocks that does not fire if block signatures are incompatible (or there is no expected block signature).
In this case, we'll perform the invocation with a nil reply block (at least in Release builds), which can cause crashes.

<rdar://problem/70004926>

-- 
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/20210524/b305c94d/attachment.htm>


More information about the webkit-unassigned mailing list