Bug 187787

Summary: Better deal with unexpected descriptor types in IPC::Connection's createMessageDecoder()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED INVALID    
Severity: Normal CC: achristensen, beidson, rniwa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2018-07-18 15:24:07 PDT
Better deal with unexpected descriptor types in IPC::Connection's createMessageDecoder() so that decoding actually fails instead of adding default-constructed IPC::Attachment objects to the Decoder. We have cases where decoding succeeds but the mach_port passed via IPC is null (rdar://problem/41995022) and this could be the cause.
Attachments
Patch (2.83 KB, patch)
2018-07-18 15:25 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2018-07-18 15:25:23 PDT
Note You need to log in before you can comment on or make changes to this bug.