commit | 7a9e483f4b45fb7682e61812c1819e80f61b3d37 | [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:05 2022 +0000 |
tree | dc61c88e3801a2ed2b1c846c39dc1430a20602ec | |
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