diff options
| author | Juergen Kreileder <[email protected]> | 2006-02-20 18:28:00 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-02-20 20:00:10 -0800 |
| commit | aa657ca9245a06fa435e00332a13da1fce182abc (patch) | |
| tree | 51e89251d12cd496cb502920467b8fa9a47b47b0 /scripts/basic | |
| parent | a9c930bac163c5e616ca0ba9378e7dc746c93227 (diff) | |
[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 <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Acked-by: Takashi Iwai <[email protected]>
Cc: Greg KH <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions