commit | 9faede355bb03059a6d1c3490e60f08708d18cee | [log] [tgz] |
---|---|---|
author | Ajit Pandey <ajitp@codeaurora.org> | Fri Sep 06 10:51:02 2019 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Jan 27 20:01:35 2020 -0800 |
tree | 585d82c37c01116209d9c029d688cd650c4a7748 | |
parent | 9a5480e9f0603d5a36e28c969d5d78c8ed29f0dd [diff] |
asoc: msm-routing: Fix array out of bounds issue. It seems there is out of bound access chances for lsm_app_type_cfg array within msm_routing_get_lsm_app_type_cfg_control() callback. Added case check to return invalid value if user tries to exceed maximum allocated size of array to avoid it. Change-Id: Ied86e6c9a957255c55bb126a09741fbde429be32 Signed-off-by: Ajit Pandey <ajitp@codeaurora.org>