commit | 2e35c29ccadeef3685420327a2a430a6812997a0 | [log] [tgz] |
---|---|---|
author | Michael Butler <[email protected]> | Mon Nov 14 13:16:07 2022 -0800 |
committer | Android Build Coastguard Worker <[email protected]> | Mon Jan 16 07:13:10 2023 +0000 |
tree | e736a39c15e2babf4a45ebd0bfaa5d2bc15282e7 | |
parent | f42907daa42c7299448112419a453bd5342e0022 [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