Bug 258951 - Potential crash under NetworkDataTaskBlob::dispatchDidReceiveResponse()
Summary: Potential crash under NetworkDataTaskBlob::dispatchDidReceiveResponse()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-06 16:27 PDT by Chris Dumez
Modified: 2023-07-07 09:48 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2023-07-06 16:27:21 PDT
Potential crash under NetworkDataTaskBlob::dispatchDidReceiveResponse():
6 WTF::RefPtr<WTF::StringImpl, WTF::RawPtrTraits<WTF::StringImpl>, WTF::DefaultRefDerefTraits<WTF::StringImpl> >::operator bool() const <==
      | 26 WTF::String::length() const
      |   26 WebCore::extractMIMETypeFromMediaType(WTF::String const&)
      |     26 WebKit::NetworkDataTaskBlob::dispatchDidReceiveResponse()
      |       26 WebKit::NetworkDataTaskBlob::getSizeForNext()
      |         26 WebKit::NetworkDataTaskBlob::didGetSize(long long)
      |           26 WTF::Function<void ()>::operator()() const
Comment 1 Chris Dumez 2023-07-06 16:27:30 PDT
<rdar://111798349>
Comment 2 Chris Dumez 2023-07-06 16:37:15 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15616
Comment 3 EWS 2023-07-07 09:48:37 PDT
Committed 265848@main (d7832a4e54ad): <https://commits.webkit.org/265848@main>

Reviewed commits have been landed. Closing PR #15616 and removing active labels.