[alsa-devel] [PATCH] ALSA: dice: fix a bounds check in snd_dice_detect_tcelectronic_formats()

Takashi Iwai tiwai at suse.de
Fri May 18 13:39:14 CEST 2018


On Fri, 18 May 2018 11:16:07 +0200,
Dan Carpenter wrote:
> 
> The "entry" pointer is always non-NULL so this test for out of bounds
> won't work.
> 
> Fixes: f1f0f330b1d0 ("ALSA: dice: add parameters of stream formats for models produced by TC Electronic")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list