Validate socket in NetworkRTCProvider::wrapNewTCPConnection
rdar://problem/61783652
Created attachment 396627 [details] Patch
Comment on attachment 396627 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=396627&action=review > Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.cpp:176 > + if (auto socket = m_pendingIncomingSockets.take(newConnectionSocketIdentifier)) > + addSocket(identifier, makeUnique<LibWebRTCSocketClient>(identifier, *this, WTFMove(socket), Socket::Type::ServerConnectionTCP)); Would logging when the socket is NULL be helpful?
Created attachment 396757 [details] Patch for landing
Committed r260260: <https://trac.webkit.org/changeset/260260> All reviewed patches have been landed. Closing bug and clearing flags on attachment 396757 [details].