summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2021-03-09 17:21:29 +0300
committerMark Brown <broonie@kernel.org>2021-03-10 15:51:12 +0300
commit3bb4852d598f0275ed5996a059df55be7318ac2f (patch)
tree787304bfd042a05f81b6ccf98c60724785982253 /tools/perf/scripts/python/export-to-sqlite.py
parent4800fe6ea1022eb240215b1743d2541adad8efc7 (diff)
downloadlinux-3bb4852d598f0275ed5996a059df55be7318ac2f.tar.xz
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 <john.stultz@linaro.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20210309142129.14182-4-srinivas.kandagatla@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions