ipc: Hwbinders: Add checks to avoid OOB read.

event_config_payload vector is read using event_config_payload_size
variable whose value comes from binder client.
If event_config_payload_size is set with a value larger than
event_config_payload size then it might lead to Out-of-Bound read.

Added checks to ensure that the event_config_payload_size matches
with the event_config_payload size.

Change-Id: Ic956ec0a1bbdcf280b4fb478d1502a47f82b4b3d
(cherry picked from commit 9bafcce0189fadabc62502695d7ea72b7fc6749a)
1 file changed
tree: b12273f8aa197a4e5a6ec04a2e105d0607ae674d
  1. ipc/
  2. plugins/
  3. service/
  4. snd_parser/
  5. Android.mk
  6. NOTICE
  7. README.md
README.md

agm

Audio Graph Manager