commit | f16c6d3a5741768356159f099d04bfe2219c81fe | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Thu Jul 07 18:13:45 2022 +0000 |
committer | Jiabin Huang <jiabin@google.com> | Thu Jul 07 23:24:30 2022 +0000 |
tree | 32400ea4abd27495545a8a5f1d5365faeadf8e5e | |
parent | c8bf2210fa3f4b7d72d44b1c2c9bdca408051bc6 [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)