Bug 259331 - Protect CachedResource in more places
Summary: Protect CachedResource in more places
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-18 20:49 PDT by Chris Dumez
Modified: 2023-07-19 10:14 PDT (History)
1 user (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-18 20:49:00 PDT
Protect CachedResource in more places. In particular, a call to MemoryCache::remove() may delete the resource it is passed so it is important to protect the resource if we're going to use it after.
Comment 1 Chris Dumez 2023-07-18 20:49:11 PDT
<rdar://80172764>
Comment 2 Chris Dumez 2023-07-18 20:52:15 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15922
Comment 3 EWS 2023-07-19 10:14:10 PDT
Committed 266163@main (c7f1348de5c2): <https://commits.webkit.org/266163@main>

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