Bug 258946 - Protect image inside MemoryCache::destroyDecodedDataForAllImages()
Summary: Protect image inside MemoryCache::destroyDecodedDataForAllImages()
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-06 13:44 PDT by Chris Dumez
Modified: 2023-07-07 11:52 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-06 13:44:12 PDT
Protect image inside MemoryCache::destroyDecodedDataForAllImages() before calling destroyDecodedData() on it, to make sure the Image stays alive for the duration of the function execution.
Comment 1 Chris Dumez 2023-07-06 13:46:13 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15610
Comment 2 Chris Dumez 2023-07-07 11:05:07 PDT
<rdar://111807064>
Comment 3 EWS 2023-07-07 11:52:47 PDT
Committed 265857@main (cdbf599aeb5f): <https://commits.webkit.org/265857@main>

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