commit | 0c5444f666ca7254aeaee2d17479dc0d84b72877 | [log] [tgz] |
---|---|---|
author | Michael Butler <butlermichael@google.com> | Mon Nov 14 13:16:07 2022 -0800 |
committer | Michael Butler <butlermichael@google.com> | Mon Dec 05 20:23:06 2022 +0000 |
tree | 30e21c853048a38edef74490bbae9fa084f7b4c3 | |
parent | 6e92bd201ca3fe64953a659e2fed922abbaa9ecb [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