Bug 233605 - nullptr deref in InbandChapterTrackPrivateAVFObjC::processChapters
Summary: nullptr deref in InbandChapterTrackPrivateAVFObjC::processChapters
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Gabriel Nava Marino
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-11-29 16:05 PST by Gabriel Nava Marino
Modified: 2021-11-30 14:24 PST (History)
8 users (show)

See Also:


Attachments
Patch (3.88 KB, patch)
2021-11-29 16:08 PST, Gabriel Nava Marino
no flags Details | Formatted Diff | Diff
Patch (3.88 KB, patch)
2021-11-29 21:35 PST, Gabriel Nava Marino
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].