16 Mar
2016
16 Mar
'16
12:50 p.m.
Hi,
this is a small patchset to address the possible Oops by accessing the invalid EP that was borked by a malformed firmware. One patch is a clean up while two are fixes.
Takashi
===
Takashi Iwai (3): ALSA: usb-audio: Fix NULL dereference in create_fixed_stream_quirk() ALSA: usb-audio: Minor code cleanup in create_fixed_stream_quirk() ALSA: usb-audio: Add sanity checks for endpoint accesses
sound/usb/clock.c | 2 ++ sound/usb/endpoint.c | 3 +++ sound/usb/mixer_quirks.c | 4 ++++ sound/usb/pcm.c | 2 ++ sound/usb/quirks.c | 22 ++++++++++++++-------- 5 files changed, 25 insertions(+), 8 deletions(-)
--
2.7.3