RESOLVED FIXED Bug 225999
CRASH: Null-pointer deref in MediaSessionManagerCocoa::setNowPlayingInfo()
https://bugs.webkit.org/show_bug.cgi?id=225999
Summary CRASH: Null-pointer deref in MediaSessionManagerCocoa::setNowPlayingInfo()
Jer Noble
Reported 2021-05-19 18:00:06 PDT
CRASH: Null-pointer deref in MediaSessionManagerCocoa::setNowPlayingInfo()
Attachments
Patch (1.97 KB, patch)
2021-05-19 18:02 PDT, Jer Noble
no flags
Jer Noble
Comment 1 2021-05-19 18:00:32 PDT
Jer Noble
Comment 2 2021-05-19 18:02:14 PDT
Jean-Yves Avenard [:jya]
Comment 3 2021-05-20 02:25:02 PDT
Following https://bugs.webkit.org/show_bug.cgi?id=225183 ; nowPlayingInfo.artwork->imageData can never be null.
Jer Noble
Comment 4 2021-05-20 08:37:04 PDT
(In reply to Jean-Yves Avenard [:jya] from comment #3) > Following https://bugs.webkit.org/show_bug.cgi?id=225183 ; > nowPlayingInfo.artwork->imageData can never be null. Unfortunately, we're still seeing crashes even after that change landed. If imageData can truly never be null, it should be a Ref<> and not a RefPtr<>, which would enforce this at compile time.
EWS
Comment 5 2021-05-20 08:41:48 PDT
Committed r277784 (237945@main): <https://commits.webkit.org/237945@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 429125 [details].
Note You need to log in before you can comment on or make changes to this bug.