linux/sound/core
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
..
oss [PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem 2006-01-09 15:59:24 -08:00
seq [PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem 2006-01-09 15:59:24 -08:00
control_compat.c [PATCH] Fix snd-usb-audio in 32-bit compat environment 2006-02-20 20:00:10 -08:00
control.c [ALSA] dynamic minors (3/6): store device-specific object pointers dynamically 2006-01-03 12:29:17 +01:00
device.c [ALSA] Revert the nested-device patch 2006-01-04 10:13:48 +01:00
hwdep_compat.c [ALSA] Remove xxx_t typedefs: Hwdep 2006-01-03 12:17:38 +01:00
hwdep.c [ALSA] Optimize for config without PROC_FS 2006-01-03 12:30:02 +01:00
info_oss.c [ALSA] Remove xxx_t typedefs: OSS-emulation 2006-01-03 12:17:44 +01:00
info.c [ALSA] Remove BKL from sound/core/info.c 2006-01-22 16:23:57 +01:00
init.c [ALSA] Optimize for config without PROC_FS 2006-01-03 12:30:02 +01:00
isadma.c
Kconfig [ALSA] pcm - Make the support of old API selectable 2006-01-03 12:30:10 +01:00
Makefile
memalloc.c [ALSA] dynamic minors (6/6): increase maximum number of sound cards 2006-01-03 12:29:21 +01:00
memory.c
misc.c
pcm_compat.c [ALSA] Remove xxx_t typedefs: PCM 2006-01-03 12:17:43 +01:00
pcm_lib.c [ALSA] pcm - Fix wrong asserts 2006-01-03 12:30:41 +01:00
pcm_memory.c [ALSA] Optimize for config without PROC_FS 2006-01-03 12:30:02 +01:00
pcm_misc.c [ALSA] Remove xxx_t typedefs: PCM 2006-01-03 12:17:43 +01:00
pcm_native.c [ALSA] pcm - Make the support of old API selectable 2006-01-03 12:30:10 +01:00
pcm_timer.c [ALSA] Remove xxx_t typedefs: PCM 2006-01-03 12:17:43 +01:00
pcm.c [ALSA] Optimize for config without PROC_FS 2006-01-03 12:30:02 +01:00
rawmidi_compat.c [ALSA] Remove xxx_t typedefs: Raw MIDI 2006-01-03 12:17:35 +01:00
rawmidi.c [ALSA] sound/: possible cleanups 2006-01-03 12:29:40 +01:00
rtctimer.c [ALSA] Remove xxx_t typedefs: Timer 2006-01-03 12:17:34 +01:00
sgbuf.c
sound_oss.c [ALSA] Optimize for config without PROC_FS 2006-01-03 12:30:02 +01:00
sound.c [ALSA] Revert the nested-device patch 2006-01-04 10:13:48 +01:00
timer_compat.c [ALSA] Remove xxx_t typedefs: Timer 2006-01-03 12:17:34 +01:00
timer.c [ALSA] Optimize for config without PROC_FS 2006-01-03 12:30:02 +01:00