[PATCH] ALSA: hda: prevent undefined shift in snd_hdac_ext_bus_get_link()
Takashi Iwai
tiwai at suse.de
Tue Nov 3 14:12:32 CET 2020
On Tue, 03 Nov 2020 11:18:07 +0100,
Dan Carpenter wrote:
>
> 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 at oracle.com>
Thanks, applied.
Takashi
More information about the Alsa-devel
mailing list