NEW306794
Crash in WebCore::RemoteCommandListener::supportsSeeking()
https://bugs.webkit.org/show_bug.cgi?id=306794
Summary Crash in WebCore::RemoteCommandListener::supportsSeeking()
David Kilzer (:ddkilzer)
Reported 2026-02-02 12:18:56 PST
WebCore crashes when MediaRemote framework calls through a stale pointer to `RemoteCommandListener::supportsSeeking()`. The crash occurs when: 1. A `RemoteCommandListenerCocoa` object registers a block with MediaRemote framework 2. The object is destroyed but MediaRemote retains the block 3. MediaRemote later executes the block, which accesses freed memory **Stack trace:** ``` 0 WebCore: WebCore::RemoteCommandListener::supportsSeeking() const 1 WebCore: invocation function for block in WebCore::RemoteCommandListenerCocoa::RemoteCommandListenerCocoa 2 WebCore: WebCore::RemoteCommandListenerCocoa::RemoteCommandListenerCocoa 3 MediaRemote: __MRMediaRemoteAddAsyncCommandHandlerBlockForPlayer_block_invoke 4 MediaRemote: MRMediaRemoteAddAsyncCommandHandlerBlock ``` <rdar://162768654>
Attachments
David Kilzer (:ddkilzer)
Comment 1 2026-02-02 12:37:15 PST
Note You need to log in before you can comment on or make changes to this bug.