commit | 082cefe34080b89e18868d8df5a97bd01f87b39c | [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:13 2022 +0000 |
tree | a6bc2e60e5b70d2f492463f0f196ee10647f3c7d | |
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