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

Skip to content
Commit 5ba0aef4 authored by Kuirong Wang's avatar Kuirong Wang
Browse files

ASoC: wcd9xxx: Add check for array boundary



Current code does not check if the indexes of array
ch_h being accessed are within the maximum number of
channels that slimbus can have for the codec. The change
adds this check and ensures that indexes outside the
bounds of array are not accessed.

Change-Id: I3cd0e0daa14b86cbf718c00b8b2738d1f75150bd
CRs-fixed: 691820
Signed-off-by: default avatarKuirong Wang <kuirongw@codeaurora.org>
parent d3b0eac5
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