[Webkit-unassigned] [Bug 269902] New: [Curl] Add null check in WebSocketTaskCurl/NetworkDataTask/NetworkSession
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 22 01:06:31 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=269902
Bug ID: 269902
Summary: [Curl] Add null check in
WebSocketTaskCurl/NetworkDataTask/NetworkSession
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Platform
Assignee: webkit-unassigned at lists.webkit.org
Reporter: kenji.shukuwa at open-tec.co.jp
m_channel.session() referenced in WebSocketTaskCurl is defined as WeakPtr<NetworkSession>.
Depending on the timing, nullptr may be returned, so check for null.
Also, NetworkSession::networkStorageSession() referenced by NetworkDataTaskCurl and NetworkSession
can return nullptr, so do a null check before using them.
--
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/20240222/2da08849/attachment-0001.htm>
More information about the webkit-unassigned
mailing list