On Mon, 18 Aug 2025 11:59:45 +0200, Dan Carpenter wrote: > > The "p" pointer is void so sizeof(*p) is 1. The intent was to check > sizeof(*cs_desc), which is 3, instead. > > Fixes: ecfd41166b72 ("ALSA: usb-audio: Validate UAC3 cluster segment descriptors") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Applied now. Thanks. Takashi
- References:
- [PATCH] ALSA: usb-audio: Fix size validation in convert_chmap_v3()
- From: Dan Carpenter
- [PATCH] ALSA: usb-audio: Fix size validation in convert_chmap_v3()
- Prev by Date: Re: (subset) [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config
- Next by Date: Re: [PATCH 1/2] dt-bindings: i2s: spacemit: add support for K1 SoC
- Previous by thread: [PATCH] ALSA: usb-audio: Fix size validation in convert_chmap_v3()
- Next by thread: [PATCH v3 0/4] ASoC: fsl: fsl_qmc_audio: Reduce amount of interrupts
- Index(es):
![]() |