Bug 233605

Summary: nullptr deref in InbandChapterTrackPrivateAVFObjC::processChapters
Product: WebKit Reporter: Gabriel Nava Marino <gnavamarino>
Component: MediaAssignee: Gabriel Nava Marino <gnavamarino>
Status: RESOLVED FIXED    
Severity: Normal CC: calvaris, eric.carlson, ews-watchlist, glenn, jer.noble, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Gabriel Nava Marino 2021-11-29 16:05:51 PST
The createChapterCue lambda gets dispatched onto a different thread. When it executes,  the client might no longer be valid.
Comment 1 Gabriel Nava Marino 2021-11-29 16:08:58 PST
Created attachment 445360 [details]
Patch
Comment 2 Gabriel Nava Marino 2021-11-29 16:11:42 PST
<rdar://problem/85596002>
Comment 3 Gabriel Nava Marino 2021-11-29 21:35:54 PST
Created attachment 445378 [details]
Patch
Comment 4 EWS 2021-11-30 14:24:03 PST
Committed r286327 (244686@main): <https://commits.webkit.org/244686@main>

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