Summary: | Validate socket in NetworkRTCProvider::wrapNewTCPConnection | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | youenn fablet <youennf> | ||||||
Component: | WebRTC | Assignee: | youenn fablet <youennf> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | eric.carlson, ews-watchlist, webkit-bug-importer, youennf | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
youenn fablet
2020-04-16 01:02:34 PDT
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]. |