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

See Also:

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]
Comment 2 Gabriel Nava Marino 2021-11-29 16:11:42 PST
Comment 3 Gabriel Nava Marino 2021-11-29 21:35:54 PST
Created attachment 445378 [details]
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].