commit | 39cb5945067211cf72ac760f93d999196b0b82e6 | [log] [tgz] |
---|---|---|
author | Rohit kumar <quic_rohkumar@quicinc.com> | Tue Aug 08 17:59:02 2023 +0530 |
committer | Hanuma Sri Saketh Valluri <quic_sakevall@quicinc.com> | Fri Sep 08 02:05:06 2023 -0700 |
tree | 1a67908ef6c483515562b5454038efe7ff83ddc8 | |
parent | 0da585feb98b3cfc8ee1171e96013bc013f80f57 [diff] |
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)