commit | 4668f30dcfdf418e7fcbc0d9c98b2eabbddb5099 | [log] [tgz] |
---|---|---|
author | Michael Butler <butlermichael@google.com> | Thu Dec 01 16:42:22 2022 -0800 |
committer | Michael Butler <butlermichael@google.com> | Mon Dec 05 20:24:09 2022 +0000 |
tree | 2cca72f2716e78662b6183469650036a02b51ba8 | |
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