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:09 +0000 |
commit | 4668f30dcfdf418e7fcbc0d9c98b2eabbddb5099 (patch) | |
tree | 2cca72f2716e78662b6183469650036a02b51ba8 /wifi/1.5/default/hidl_sync_util.cpp | |
parent | f16c6d3a5741768356159f099d04bfe2219c81fe (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 'wifi/1.5/default/hidl_sync_util.cpp')
0 files changed, 0 insertions, 0 deletions