summaryrefslogtreecommitdiff
path: root/audio/core/all-versions/default/ParametersUtil.cpp
diff options
context:
space:
mode:
authorjiabin <jiabin@google.com>2022-07-07 18:13:45 +0000
committerJiabin Huang <jiabin@google.com>2022-07-07 23:24:30 +0000
commitf16c6d3a5741768356159f099d04bfe2219c81fe (patch)
tree32400ea4abd27495545a8a5f1d5365faeadf8e5e /audio/core/all-versions/default/ParametersUtil.cpp
parentc8bf2210fa3f4b7d72d44b1c2c9bdca408051bc6 (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)
Diffstat (limited to 'audio/core/all-versions/default/ParametersUtil.cpp')
0 files changed, 0 insertions, 0 deletions