CRASH: Exception thrown from -[AVContentKeySession processContentKeyRequestWithIdenti...
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 May 2018 21:23:29 +0000 (21:23 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 May 2018 21:23:29 +0000 (21:23 +0000)
commit0fe61d95c4ee6985a15557ab1e686cf5876c5048
tree60bb3b176807a3a824d71f98edddac0d3ef42110
parent4ff488dde3de351cb7c4d4e48b8e47270d0eee90
CRASH: Exception thrown from -[AVContentKeySession processContentKeyRequestWithIdentifier:initializationData:options:] after -expire called
https://bugs.webkit.org/show_bug.cgi?id=185690
<rdar://problem/38297768>

Reviewed by Eric Carlson.

Reject all calls to update() after close() has been called on the session.

* platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm:
(WebCore::CDMSessionAVContentKeySession::update):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@231872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm