android_kernel_xiaomi_sm8350/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
device.c [ALSA] Revert the nested-device patch 2006-01-04 10:13:48 +01:00
hwdep_compat.c
hwdep.c
info_oss.c
info.c [ALSA] Remove BKL from sound/core/info.c 2006-01-22 16:23:57 +01:00
init.c
isadma.c
Kconfig
Makefile
memalloc.c
memory.c
misc.c
pcm_compat.c
pcm_lib.c [ALSA] pcm - Fix wrong asserts 2006-01-03 12:30:41 +01:00
pcm_memory.c
pcm_misc.c
pcm_native.c
pcm_timer.c
pcm.c
rawmidi_compat.c
rawmidi.c
rtctimer.c
sgbuf.c
sound_oss.c
sound.c [ALSA] Revert the nested-device patch 2006-01-04 10:13:48 +01:00
timer_compat.c
timer.c