mbox series

[0/2,4.19.y] ALSA: usb-audio: sanity checks for pipes

Message ID be8708fe-fa9c-4b41-bbbf-50a75d0fb3c8@stanley.mountain (mailing list archive)
Headers show
Series ALSA: usb-audio: sanity checks for pipes | expand

Message

Dan Carpenter Sept. 5, 2024, 12:37 p.m. UTC
Backporting the sanity checks on pipes seems like a good idea.  These
are basically the same as Takashi Iwai's patches upstream.  The
difference is that upstream added two sanity checks to code that
doesn't exist in 4.19.

I had talked about backporting fcc2cc1f3561 ("USB: move
snd_usb_pipe_sanity_check into the USB core") but that's just a
refactor and not a bug fix.

Hillf Danton (1):
  ALSA: usb-audio: Fix gpf in snd_usb_pipe_sanity_check

Takashi Iwai (1):
  ALSA: usb-audio: Sanity checks for each pipe and EP types

 sound/usb/helper.c | 17 +++++++++++++++++
 sound/usb/helper.h |  1 +
 sound/usb/quirks.c | 14 +++++++++++---
 3 files changed, 29 insertions(+), 3 deletions(-)