kernel-ark/sound
Juergen Kreileder aa657ca924 [PATCH] Fix snd-usb-audio in 32-bit compat environment
I'm getting oopses with snd-usb-audio in 32-bit compat environments:
control_compat.c:get_ctl_type() doesn't initialize 'info', so
'itemlist[uinfo->value.enumerated.item]' in
usbmixer.c:mixer_ctl_selector_info() might access random memory (The 'if
((int)uinfo->value.enumerated.item >= cval->max)' doesn't fix all problems
because of the unsigned -> signed conversion.)

Signed-off-by: Juergen Kreileder <jk@blackdown.de>
Cc: Jaroslav Kysela <perex@suse.cz>
Acked-by: Takashi Iwai <tiwai@suse.de>
Cc: Greg KH <greg@kroah.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-20 20:00:10 -08:00
..
arm [ARM] 3290/1: Fix the FIFO size detection 2006-02-01 19:25:58 +00:00
core [PATCH] Fix snd-usb-audio in 32-bit compat environment 2006-02-20 20:00:10 -08:00
drivers
i2c
isa
mips
oss [PATCH] powerpc: Fix sound driver use of i2c 2006-02-07 20:33:36 -08:00
parisc
pci
pcmcia
ppc [PATCH] powerpc: Fix sound driver use of i2c 2006-02-07 20:33:36 -08:00
sparc
synth
usb
Kconfig
last.c
Makefile
sound_core.c
sound_firmware.c