Commit 7d0c0ff
committed
[EME][GStreamer][Thunder] Fix crash with garbage collected CDMInstance
https://bugs.webkit.org/show_bug.cgi?id=294833
Reviewed by Philippe Normand.
There was a crash in certain situations where the CDMInstance got garbage collected, which made it crash as there was no
valid object. Now we just bail out and warn.
* Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.cpp:
(WebCore::CDMInstanceSessionThunder::requestLicense):
Canonical link: https://commits.webkit.org/296608@main1 parent 26ab43e commit 7d0c0ff
1 file changed
Lines changed: 5 additions & 1 deletion
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
499 | | - | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
500 | 504 | | |
501 | 505 | | |
502 | 506 | | |
| |||
0 commit comments