Skip to content
Commit a74e4107 authored by Karthikeyan Mani's avatar Karthikeyan Mani
Browse files

ASoC: wcd-dsp-mgr: Add range check before getting component



Add range check for wdsp_cmpnt_type to be within max
and greater than 0 before accessing the array to get
the component.

CRs-fixed: 2068865
Change-Id: Ibc3128297a024f7d6d548c946a035e604f573b64
Signed-off-by: default avatarKarthikeyan Mani <kmani@codeaurora.org>
parent 11f73a0c
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