Skip to content
Snippets Groups Projects
Commit 5cd46667 authored by Johan Carlsson's avatar Johan Carlsson Committed by Sasha Levin
Browse files

ALSA: usb-audio: Stop parsing channels bits when all channels are found.


[ Upstream commit a39d51ff ]

If a usb audio device sets more bits than the amount of channels
it could write outside of the map array.

Signed-off-by: default avatarJohan Carlsson <johan.carlsson@teenage.engineering>
Fixes: 04324ccc ("ALSA: usb-audio: add channel map support")
Message-ID: <20240313081509.9801-1-johan.carlsson@teenage.engineering>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4266f6e7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment