platform_hardware_interfaces/neuralnetworks/1.2
Michael Butler 611648f7a0 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:19 +00:00
..
utils Add additional bounds checks to NNAPI FMQ deserialize utility functions 2022-12-05 20:24:19 +00:00
vts/functional Merge "Make VtsHalNeuralnetworks* tests more binder-friendly." into android12-tests-dev am: 2a04b4462f am: 2a3972288c 2022-08-26 17:24:25 +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 HAL and AIDL files to be consistent with API generation tool. 2021-09-08 17:41:10 +01:00
types.t Move NNAPI type information to types.spec 2021-03-17 13:32:50 +00:00