aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/quirks.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-04-02 14:42:50 +0300
committerTakashi Iwai <tiwai@suse.de>2021-04-06 11:30:53 +0200
commit53cc2643c1498779c86ee8e038273c2b2d9c8126 (patch)
treeafa038fbe8b84d4ce1ab8d39808a7486a37f8eea /sound/usb/quirks.c
parentMerge branch 'topic/mute-led' into for-next (diff)
downloadlinux-dev-53cc2643c1498779c86ee8e038273c2b2d9c8126.tar.xz
linux-dev-53cc2643c1498779c86ee8e038273c2b2d9c8126.zip
ALSA: control - off by one in store_mode()
If count is 16 then this will put the NUL terminator one element beyond the end of the array. Fixes: cb17fe0045aa ("ALSA: control - add sysfs support to the LED trigger module") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Jaroslav Kysela <perex@perex.cz> Link: https://lore.kernel.org/r/YGcDOtrimR46vr0k@mwanda Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/quirks.c')
0 files changed, 0 insertions, 0 deletions