summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-11-03 13:18:07 +0300
committerTakashi Iwai <tiwai@suse.de>2020-11-03 14:11:38 +0100
commit158e1886b6262c1d1c96a18c85fac5219b8bf804 (patch)
tree40fa0b6e57fdec473c785892a4e938e04d3192d2 /sound/pci
parent9fc149c3bce7bdbb94948a8e6bd025e3b3538603 (diff)
ALSA: hda: prevent undefined shift in snd_hdac_ext_bus_get_link()
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>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions