summaryrefslogtreecommitdiffstats
path: root/ipc/compat_mq.c
diff options
context:
space:
mode:
authorJuergen Kreileder <jk@blackdown.de>2006-02-21 03:28:00 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-21 05:00:10 +0100
commitaa657ca9245a06fa435e00332a13da1fce182abc (patch)
tree51e89251d12cd496cb502920467b8fa9a47b47b0 /ipc/compat_mq.c
parent[PATCH] Fix units in mbind check (diff)
downloadlinux-aa657ca9245a06fa435e00332a13da1fce182abc.tar.xz
linux-aa657ca9245a06fa435e00332a13da1fce182abc.zip
[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>
Diffstat (limited to 'ipc/compat_mq.c')
0 files changed, 0 insertions, 0 deletions