commit | 4f110343d667159f85df5c2b787a9e9a5349bcbe | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Thu Jul 07 20:37:42 2022 +0000 |
committer | Mikhail Naganov <mnaganov@google.com> | Fri Jul 08 17:08:39 2022 +0000 |
tree | 87d45a7930c8c402956b925ba4f9f559c0462ce2 | |
parent | 7fac45095948036e65e1119ed65f5fb9a69be100 [diff] |
audio: Add checks to HIDL -> effect_param_t conversion By convention, the size of the resulting effect_param_t can not exceed EFFECT_PARAM_SIZE_MAX. This checks needs to be enforced when converting from HIDL arguments into legacy C API structures. Bug: 237291425 Test: atest VtsHalAudioEffectV7_0TargetTest Change-Id: Ie92f62b002dc622fa8246139c3d956909670fdb6