diff options
author | Michael Butler <butlermichael@google.com> | 2022-12-01 16:42:22 -0800 |
---|---|---|
committer | Michael Butler <butlermichael@google.com> | 2022-12-05 20:24:13 +0000 |
commit | 082cefe34080b89e18868d8df5a97bd01f87b39c (patch) | |
tree | a6bc2e60e5b70d2f492463f0f196ee10647f3c7d /audio/effect/all-versions/default/VirtualizerEffect.cpp | |
parent | 7a95f4b58485d3b342a09595e902ffccafd9e4f2 (diff) |
Add additional bounds checks to NNAPI FMQ deserialize utility functions
This CL adds the following additional bounds checks:
* Adds additional checks of the index of the std::vector before
accessing the element at the index
* Changes the array index operator [] to the checked std::vector::at
method
Bug: 256589724
Test: mma
Merged-In: I6bfb02a5cd76258284cc4d797a4508b21e672c4b
Change-Id: I6bfb02a5cd76258284cc4d797a4508b21e672c4b
Diffstat (limited to 'audio/effect/all-versions/default/VirtualizerEffect.cpp')
0 files changed, 0 insertions, 0 deletions