commit | 53c3446c3de1e790eb790b175d79931dac525389 | [log] [tgz] |
---|---|---|
author | Sohail Nagaraj <sohail.nagaraj@ittiam.com> | Thu Aug 24 07:39:43 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Nov 09 21:17:45 2023 +0000 |
tree | b8661a3ddc1d29c1265aeb1c9c6e21a620cc58cc | |
parent | 1d9ab159a5c0f2122305107036a6aaf6583b0c55 [diff] |
httplive: fix use-after-free Implement a mutex to ensure secure multi-threaded access to the KeyedVector in MetaDataBase. Concurrent access by different threads can lead to accessing the wrong memory location due to potential changes in the vector Bug: 278166920 Test: HTTP Live Streaming test (cherry picked from https://partner-android-review.googlesource.com/q/commit:a2dfb31957a9d5358d0219a0eda7dcb5b0fff5fe) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:90fb4ca425444429ada6ce0de1c13d35829bc196) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:300e148b8e80387fa5c9a69feb38f8af53541d19) Merged-In: Id35ba181185bc93d9f268309a1514c5a18166e12 Change-Id: Id35ba181185bc93d9f268309a1514c5a18166e12