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:05 +0000 |
commit | 7a9e483f4b45fb7682e61812c1819e80f61b3d37 (patch) | |
tree | dc61c88e3801a2ed2b1c846c39dc1430a20602ec /wifi/1.6/default/ringbuffer.cpp | |
parent | 377e999d1b446c95d7eb8e96704dea9101a333b6 (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.6/default/ringbuffer.cpp')
0 files changed, 0 insertions, 0 deletions