Skip to content
Commit 9faede35 authored by Ajit Pandey's avatar Ajit Pandey Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarAjit Pandey <ajitp@codeaurora.org>
parent 9a5480e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment