platform_hardware_interfaces/neuralnetworks/1.2
Michael Butler 4668f30dcf 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
2022-12-05 20:24:09 +00:00
..
utils Add additional bounds checks to NNAPI FMQ deserialize utility functions 2022-12-05 20:24:09 +00:00
vts Quickly exit VtsHalNeuralnetworks*TargetTest on failure 2021-08-25 18:07:45 +00:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-21 20:36:55 -08:00
IBurstCallback.hal Fix IBurstCallback.hal typo 2019-04-17 17:37:30 +00:00
IBurstContext.hal NNAPI Burst -- HAL interface 2019-01-24 14:04:35 -08:00
IDevice.hal Change 'blacklist' to 'disallow' 2020-06-29 13:24:11 +01:00
IExecutionCallback.hal Update neuralnetworks HAL to allow collecting execution duration. 2019-01-24 16:07:03 -08:00
IPreparedModel.hal Specify NNAPI Burst FMQ read/write requirements 2019-09-19 13:31:01 -07:00
IPreparedModelCallback.hal Add 1.2 NN HAL: IPreparedModel & callbacks. 2018-12-13 13:56:51 -08:00
types.hal Fix typo in PAD_V2 comments 2021-04-23 16:25:12 +00:00
types.t Move NNAPI type information to types.spec 2021-03-17 13:32:50 +00:00