[Webkit-unassigned] [Bug 43636] New: IPC in WebKit2 is not type-safe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 6 12:52:23 PDT 2010


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

           Summary: IPC in WebKit2 is not type-safe
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: NeedsRadar
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aroben at apple.com
                CC: andersca at apple.com, sam at webkit.org


Consider this code from WebPageProxy::mouseEvent:

    process()->send(WebPageMessage::MouseEvent, m_pageID, CoreIPC::In(event));

The compiler does not enforce that a WebMouseEvent is passed to CoreIPC::In when the message ID is WebPageMessage::MouseEvent. It's easy to make mistakes which will result in crashes on the other end of the connection.

We should make our IPC type-safe.

-- 
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