Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5550b517 authored by Yeleswarapu Nagaradhesh's avatar Yeleswarapu Nagaradhesh
Browse files

ASoC: wcd9xxx: fix out of bound access



Somtimes index can be more than array size of imped_index.
which can lead to out of bound access. Fix this by checking
for valid value of index.

CRs-Fixed: 2000364
Change-Id: Ie571992f7a0b8156b02e09bb3adb0f9c9a370df7
Signed-off-by: default avatarYeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
parent 87905821
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment