summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-11-03 13:18:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-18 18:24:58 +0100
commitf1a6e0d012c9b1ab7a23a9baef4628d7670a0562 (patch)
tree5fd69ea3b8ba4f01b4a6c7b9266f01d2157e1008 /tools/perf/scripts/python
parentd990e768f7c255c4e2073d658bc245d99200bb09 (diff)
ALSA: hda: prevent undefined shift in snd_hdac_ext_bus_get_link()
[ Upstream commit 158e1886b6262c1d1c96a18c85fac5219b8bf804 ] This is harmless, but the "addr" comes from the user and it could lead to a negative shift or to shift wrapping if it's too high. Fixes: 0b00a5615dc4 ("ALSA: hdac_ext: add hdac extended controller") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20201103101807.GC1127762@mwanda Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions