aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2021-11-19 17:08:49 -0600
committerMark Brown <broonie@kernel.org>2021-11-24 12:57:17 +0000
commit0e888a74e52db369e19aec908131cf171079b306 (patch)
treecb975d7eefac7d03f4af12dcb44e9c7a6166d115 /tools/perf/scripts/python
parentASoC: SOF: Add PM support for i.MX8/i.MX8X/i.MX8M (diff)
downloadlinux-0e888a74e52db369e19aec908131cf171079b306.tar.gz
linux-0e888a74e52db369e19aec908131cf171079b306.zip
ALSA: pcm: unconditionally check if appl_ptr is in 0..boundary range
In some cases, the appl_ptr passed by userspace is not checked before being used. This patch adds an unconditional check and returns an error code should the appl_ptr exceed the ALSA 'boundary'. Suggested-by: Takashi Iwai <tiwai@suse.de> Reviewed-by: Takashi Iwai <tiwai@suse.de> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20211119230852.206310-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions