commit | 06493bc122dd6b5f9106e0c526288e7962c7ad5b | [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 22:08:39 2022 +0000 |
tree | d98ef0dc0e2660b49bb92da865f7eecc39653b5d | |
parent | 0891de19e6947fe1a90f5e7ea7eb21bc88365a17 [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