]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ALSA: caiaq - Fix possible string-buffer overflow
authorTakashi Iwai <tiwai@suse.de>
Mon, 14 Feb 2011 21:45:59 +0000 (22:45 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 Feb 2011 21:50:46 +0000 (22:50 +0100)
commiteaae55dac6b64c0616046436b294e69fc5311581
tree3d43cd10661ee35d7feaed84e6aa77595d476523
parent5e5677f239ba69fc718ec9a87ac4ba035dafe2c0
ALSA: caiaq - Fix possible string-buffer overflow

Use strlcpy() to assure not to overflow the string array sizes by
too long USB device name string.

Reported-by: Rafa <rafa@mwrinfosecurity.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/caiaq/audio.c
sound/usb/caiaq/midi.c