ipc: HwBinders: Fix potential out of bound access

Size of hidl_vec can be less than size variable passed as
an argument. Accessing it beyond size will lead to out of bound
access. Add check for hidl_vec size to avoid the issue.

Change-Id: I6b05e027eeade71a095fecc53ba3d3cbb8da245a
(cherry picked from commit 500f416a6ea08f3d8782acda16ede30c1fdaf865)
1 file changed
tree: 1a67908ef6c483515562b5454038efe7ff83ddc8
  1. ipc/
  2. plugins/
  3. service/
  4. snd_parser/
  5. Android.mk
  6. NOTICE
  7. README.md
README.md

agm

Audio Graph Manager