aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorSrinivas Kandagatla <[email protected]>2021-03-09 14:21:29 +0000
committerMark Brown <[email protected]>2021-03-10 12:51:12 +0000
commit3bb4852d598f0275ed5996a059df55be7318ac2f (patch)
tree787304bfd042a05f81b6ccf98c60724785982253 /scripts/gdb/linux/tasks.py
parent4800fe6ea1022eb240215b1743d2541adad8efc7 (diff)
ASoC: codecs: wcd934x: add a sanity check in set channel map
set channel map can be passed with a channel maps, however if the number of channels that are passed are more than the actual supported channels then we would be accessing array out of bounds. So add a sanity check to validate these numbers! Fixes: a61f3b4f476e ("ASoC: wcd934x: add support to wcd9340/wcd9341 codec") Reported-by: John Stultz <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions