commit | ed6faa58fd24218924c0b4956c334eddda8fcb7c | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Thu Jul 07 18:13:45 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Aug 12 05:36:19 2022 +0000 |
tree | 7c6e12f404e9f1e787459d1251f52715758af713 | |
parent | 4a8246e3757732cb787327c3f8ad5cbacf910d1e [diff] |
Fix array out of bound in audioTransportToHal. The number of audio profile and extra audio descriptor must not be greater than the maximum value. Bug: 237288416 Bug: 237717857 Test: repo step in bug Test: atest android.hardware.audio.common@7.0-util_tests Change-Id: I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9 Merged-In: I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9 (cherry picked from commit 0ee75ca925f6334741d3e34c5e1d1b0efae5943b) (cherry picked from commit f16c6d3a5741768356159f099d04bfe2219c81fe) Merged-In: I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9