No description
Find a file
Michael Butler 7a9e483f4b 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:05 +00:00
atrace/1.0 Let the default Atrace HAL support /sys/kernel/tracing 2021-04-22 15:10:46 -07:00
audio Fix array out of bound in audioTransportToHal. 2022-07-07 23:24:30 +00:00
authsecret Freeze AIDL APIs for SC 2021-05-25 10:13:26 +09:00
automotive Updated WHEEL_TICK configArray documentation in VHAL. 2021-10-06 16:44:07 +00:00
biometrics Merge changes from topic "fix-IFace-enroll" into sc-dev 2021-07-27 00:21:27 +00:00
bluetooth BluetoothAudio: Refine the FMQ size for A2DP software encoding 2021-07-30 10:13:14 +08:00
boot [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
broadcastradio audio: Update OWNERS 2021-03-18 23:28:58 +00:00
camera Camera: VTS: Set proper dataSpace for reprocessing test 2021-09-20 23:53:58 +00:00
cas [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
common Freeze AIDL APIs for SC 2021-05-25 10:13:26 +09:00
compatibility_matrices ISharedSecret: Add strongbox definition 2021-05-25 17:28:50 +08:00
configstore [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
confirmationui [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
contexthub Rename the global mic disable setting 2021-03-24 01:39:55 -07:00
drm Merge RQ2A.210405.006 to aosp-master - DO NOT MERGE 2021-04-13 19:29:20 -07:00
dumpstate [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
fastboot [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
gatekeeper/1.0 Revert "Expand Gatekeeper test" 2021-09-17 10:05:11 +00:00
gnss Merge "Allow getPsdsExtension to return nullptr" into stage-aosp-sc-ts-dev am: a5a3c1ece1 2021-09-03 17:33:54 +00:00
graphics Increase timeout for VtsHalGraphicsComposerV2_4TargetTest 2021-08-09 17:57:33 +02:00
health Freeze AIDL APIs for SC 2021-05-25 10:13:26 +09:00
identity identity: fix access control checks in libeic. 2021-06-14 13:50:59 -04:00
input Add IInputConstants dependency for Input.h 2021-06-03 18:55:24 +00:00
ir/1.0 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
keymaster AesInvalidKeySize skip 192 on SB devices 2021-09-09 10:44:31 -07:00
light light: downgrade hardware open error 2021-04-01 20:50:51 +00:00
media omx: validate only standard OMX roles 2021-08-11 17:10:38 +00:00
memtrack Memtrack HAL: Report global total GPU-private memory 2021-07-14 21:15:46 +00:00
neuralnetworks Add additional bounds checks to NNAPI FMQ deserialize utility functions 2022-12-05 20:24:05 +00:00
nfc Merge "Out of bounds read in hal_core_initialized" into rvc-qpr-dev am: 14162741e7 2021-05-01 00:15:12 +00:00
oemlock Freeze AIDL APIs for SC 2021-05-25 10:13:26 +09:00
power Power: allow vts to pass with earlier version of server 2021-06-12 18:27:59 -07:00
radio Skip slot 2 for other radio modules in single sim mode am: c6a7143b1d am: c8bf2210fa 2021-10-01 17:58:03 +00:00
rebootescrow/aidl Merge "libgtest_prod: use headers." am: 40bbe789a4 am: 2678fed701 am: fa4d66b585 2021-04-23 02:40:44 +00:00
renderscript/1.0 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
scripts Add script to get prelim HAL VTS coverage. 2021-03-15 17:23:20 -07:00
secure_element [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
security KeyMint VTS: add missing purpose/algo 2021-09-13 08:56:05 -07:00
sensors Enforce sensors of the same type having a unique name. 2021-06-17 14:50:01 -07:00
soundtrigger Merge "audio: Update OWNERS" am: 2ad6484fc7 am: c5fb904fb7 am: 73bf722993 2021-03-19 18:43:42 +00:00
tests Add owner field to android.hardware.tests.extension.vibrator 2021-06-04 12:11:07 +09:00
tetheroffload [SP37] Change requirement of older event callback. 2021-05-03 14:00:17 +08:00
thermal Vts: thermal: Test notification with an unregistered local callback 2021-09-13 03:06:55 +00:00
tv Fix closure of record thread 2021-09-15 17:49:00 +00:00
usb [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
vibrator Update vibrator VTS to only validate support from required primitives 2021-07-09 15:01:00 +01:00
vr/1.0 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
weaver Freeze AIDL APIs for SC 2021-05-25 10:13:26 +09:00
wifi Update the p2p device interface name 2021-10-19 18:14:26 +00:00
.clang-format Replace clang-format with symlink. 2019-01-18 14:26:33 -08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
CleanSpec.mk wifi adapter cleanspec 2019-12-13 14:24:23 -08:00
current.txt Updated WHEEL_TICK configArray documentation in VHAL. 2021-10-06 16:44:07 +00:00
METADATA Add METADATA to interfaces: Apache2=NOTICE 2020-05-01 10:59:55 -07:00
NOTICE Apache2 module license. 2016-08-30 11:28:36 -07:00
OWNERS Update OWNERS for 2020 2020-12-16 18:09:12 +00:00
PREUPLOAD.cfg Turn aidl_format on 2021-01-21 15:06:51 +09:00
TEST_MAPPING Add TEST_MAPPING presubmit config for VtsHalTvInputV1_0TargetTest 2020-04-03 13:37:57 -07:00
update-base-files.sh Make audio*-base.h files autogenerated again 2020-12-09 23:36:48 +00:00
update-makefiles.sh Remove update scripts for VTS makefiles. 2019-02-28 10:32:51 -08:00