commit | 5b827558213168d710767904f4f8687237c70813 | [log] [tgz] |
---|---|---|
author | Michael Butler <[email protected]> | Mon Nov 14 13:16:07 2022 -0800 |
committer | Android Build Coastguard Worker <[email protected]> | Wed Dec 14 02:26:28 2022 +0000 |
tree | e736a39c15e2babf4a45ebd0bfaa5d2bc15282e7 | |
parent | 9fe8733381427ed1fd14c0b2ab3542e3bb174067 [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 c823dd8c35862216ee0ad979d618c112c6303c68) Merged-In: I3461c9e33b64e7d44bb3b430c8eb00d794669037