[Webkit-unassigned] [Bug 213700] New: Crash in NetworkProcessProxy::getNetworkProcessConnection() lambda due to missing Optional<> value check
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jun 28 08:59:48 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=213700
Bug ID: 213700
Summary: Crash in
NetworkProcessProxy::getNetworkProcessConnection()
lambda due to missing Optional<> value check
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: InRadar
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ddkilzer at webkit.org
CC: achristensen at apple.com, cdumez at apple.com
Crash in NetworkProcessProxy::getNetworkProcessConnection() lambda due to missing Optional<> value check.
NetworkProcess::createNetworkConnectionToWebProcess() can call its completion handler with an empty Optional<> argument:
auto ipcConnection = createIPCConnectionPair();
if (!ipcConnection) {
completionHandler({ }, HTTPCookieAcceptPolicy::Never);
return;
}
The completion handler defined in NetworkProcessProxy::getNetworkProcessConnection() must be able to handle this.
Note that GPUProcess::createGPUConnectionToWebProcess() and GPUProcessProxy::getGPUProcessConnection() have the same issue.
<rdar://problem/64852903>
--
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/20200628/5f2e4333/attachment.htm>
More information about the webkit-unassigned
mailing list