Edwin Wong 94f86b717c Fixed race condition in closeSession
Merged from http://go/wvgerrit/164799

Fix race that corrupts mCryptoSessions std::map,
and race that occurs when CryptoSessions are used after free.

Test: poc
Test: atest MediaDrmParameterizedTests
Test: atest GtsMediaTestCases

Bug: 258189255
Change-Id: I298d3e0770ace9cd590dfaacaa4c52a0732c2fe3
2023-01-18 20:04:44 +00:00
2020-02-12 14:36:45 -08:00
2014-02-20 12:48:45 -08:00
2021-10-27 05:05:43 +00:00
2022-04-22 16:35:07 +00:00
Description
No description provided
1.1 GiB