]> git.baikalelectronics.ru Git - 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)
commit646a01c8f4a102f58567f8e7586907cd916ca232
tree3d43cd10661ee35d7feaed84e6aa77595d476523
parent4cbe090cc2c970a04309b2073f5f169a04ab5e24
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