commit | 693d665c68bf63fba67e6b8cdfa466b5eea7e8b6 | [log] [tgz] |
---|---|---|
author | Michael Butler <butlermichael@google.com> | Thu Dec 01 17:50:37 2022 -0800 |
committer | Bharath <bharath@teamb58.org> | Wed Feb 01 16:17:58 2023 +0530 |
tree | 1817a8bba7557b12f95cf7f5cc65b059c92e07d3 | |
parent | e53b7764f026d1c129493f0a8bd34b5b6766c355 [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: I3461c9e33b64e7d44bb3b430c8eb00d794669037 Change-Id: I3461c9e33b64e7d44bb3b430c8eb00d794669037 (cherry picked from commit 9e2f454205a4959c731cc586958d52b7e86285cd) Merged-In: I3461c9e33b64e7d44bb3b430c8eb00d794669037