Bug 230121 - Potential crash under CachedRawResource::didAddClient()
Summary: Potential crash under CachedRawResource::didAddClient()
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
Keywords: InRadar
Depends on:
Reported: 2021-09-09 13:26 PDT by Chris Dumez
Modified: 2021-09-09 15:24 PDT (History)
4 users (show)

See Also:

Patch (2.85 KB, patch)
2021-09-09 13:32 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-09-09 13:26:04 PDT
Potential crash under CachedRawResource::didAddClient():
50 WebCore: WebCore::SharedBuffer::forEachSegment(WTF::Function<void (WTF::Span<unsigned char const, 18446744073709551615ul> const&)> const&) const <==
        50 WebCore: WebCore::CachedRawResource::didAddClient(WebCore::CachedResourceClient&)::$_0::operator()(WebCore::ResourceRequest&&)::'lambda'()::operator()() const
          50 WebCore: WTF::Detail::CallableWrapper<WebCore::DocumentLoader::responseReceived(WebCore::ResourceResponse const&, WTF::CompletionHandler<void ()>&&)::$_4, void, WebCore::PolicyAction, WebCore::PolicyCheckIdentifier>::call(WebCore::PolicyAction, WebCore::PolicyCheckIdentifier)
            50 WebKit: WebKit::WebFrameLoaderClient::dispatchDecidePolicyForResponse(WebCore::ResourceResponse const&, WebCore::ResourceRequest const&, WebCore::PolicyCheckIdentifier, WTF::String const&, WTF::Function<void (WebCore::PolicyAction, WebCore::PolicyCheckIdentifier)>&&)
Comment 1 Chris Dumez 2021-09-09 13:26:19 PDT
Comment 2 Chris Dumez 2021-09-09 13:32:07 PDT
Created attachment 437776 [details]
Comment 3 EWS 2021-09-09 15:24:49 PDT
Committed r282241 (241524@main): <https://commits.webkit.org/241524@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 437776 [details].