diff options
author | Mikhail Naganov <mnaganov@google.com> | 2022-09-01 00:31:43 +0000 |
---|---|---|
committer | Mikhail Naganov <mnaganov@google.com> | 2022-09-01 00:35:52 +0000 |
commit | 8e3480edfe9933306f82c1656deb8e6b7090273c (patch) | |
tree | c03bd78d5711174a1d87b75082d9f4ba29503ed6 /bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp | |
parent | 44c3a78ff196ab518c05086f28bdb27cdf7df405 (diff) |
audio: Add checks to effects feature configs retrieval
The size of the feature config needs to be limited
by the Binder transaction size. This check is enforced
before calling into legacy C API.
Also, fixed invalid calculation of buffer size
in Effect::getSupportedConfigsImpl.
Bug: 240266798
Test: atest VtsHalAudioEffectV7_0TargetTest
Change-Id: I1a1f7931a07e28642967fa68d9a358429138db29
Diffstat (limited to 'bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp')
0 files changed, 0 insertions, 0 deletions