commit | 611648f7a007b3b491e70123c1e2fdca54388a9e | [log] [tgz] |
---|---|---|
author | Michael Butler <butlermichael@google.com> | Mon Nov 14 19:00:25 2022 -0800 |
committer | Michael Butler <butlermichael@google.com> | Mon Dec 05 20:24:19 2022 +0000 |
tree | d8d895662d804d76563adffc78012a33ac1269e5 | |
parent | b9dca29ee5214cb38bf336194e04cb56c80d0e6d [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