remarkable-linux/sound/usb
Dan Carpenter 26e34e9e15 ALSA: usb/mixer: remove bogus cast
"uinfo->value.enumerated.item" is an unsigned int.  If it's negative
when we do the comparison:
	if ((int)uinfo->value.enumerated.item >= cval->max)
then we would read past the end of the array on the next line.

I also changed the strcpy() to strlcpy() out of paranoia.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2010-09-16 22:50:51 +02:00
..
caiaq ALSA: snd-usb-caiaq: Add support for Traktor Kontrol S4 2010-09-10 11:08:39 +02:00
misc Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2010-05-20 21:26:12 -07:00
usx2y Merge branch 'topic/usb' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 into devel 2010-04-16 10:37:41 +02:00
card.c Merge branch 'fix/misc' into topic/misc 2010-09-09 10:51:45 +02:00
card.h ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00
clock.c ALSA: usb-audio: fix detection of vendor-specific device protocol settings 2010-09-03 22:36:39 +02:00
clock.h ALSA: usb-audio: simplify control interface access 2010-06-23 16:10:23 +02:00
debug.h
endpoint.c Merge branch 'fix/misc' into topic/misc 2010-09-03 22:38:52 +02:00
endpoint.h
format.c ALSA: usb-audio: fix detection of vendor-specific device protocol settings 2010-09-03 22:36:39 +02:00
format.h ALSA: usb-audio: parse more format descriptors with structs 2010-05-27 09:48:31 +02:00
helper.c ALSA: usb: USB3 SuperSpeed sound support 2010-08-14 10:30:08 +02:00
helper.h ALSA: usb-audio: fix control messages for USB_RECIP_INTERFACE 2010-06-11 18:05:38 +02:00
Kconfig ALSA: snd-usb-caiaq: Add support for Traktor Kontrol S4 2010-09-10 11:08:39 +02:00
Makefile ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00
midi.c ALSA: usb: USB3 SuperSpeed sound support 2010-08-14 10:30:08 +02:00
midi.h ALSA: usb-audio: add support for Akai MPD16 2010-05-21 17:12:30 +02:00
mixer.c ALSA: usb/mixer: remove bogus cast 2010-09-16 22:50:51 +02:00
mixer.h ALSA: usb-audio: simplify control interface access 2010-06-23 16:10:23 +02:00
mixer_maps.c ALSA: usb-audio: unify constants from specification 2010-05-31 18:17:22 +02:00
mixer_quirks.c ALSA: usb - use of kmalloc/kfree requires the include of slab.h 2010-03-29 08:23:27 +02:00
mixer_quirks.h
pcm.c Merge branch 'fix/misc' into topic/misc 2010-09-03 22:38:52 +02:00
pcm.h ALSA: usb-audio: simplify control interface access 2010-06-23 16:10:23 +02:00
proc.c ALSA: usb: USB3 SuperSpeed sound support 2010-08-14 10:30:08 +02:00
proc.h
quirks-table.h ALSA: usb-audio: add BOSS ME-25 support 2010-09-03 22:24:22 +02:00
quirks.c ALSA: usb-audio: simplify control interface access 2010-06-23 16:10:23 +02:00
quirks.h
urb.c ALSA: usb: USB3 SuperSpeed sound support 2010-08-14 10:30:08 +02:00
urb.h
usbaudio.h ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00