Bug 259331

Summary: Protect CachedResource in more places
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.