Re: [PATCH] ALSA: usb-audio: Fix possible NULL pointer dereference in snd_usb_pcm_has_fixed_rate()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 13 Jan 2023 09:53:11 +0100,
Jaroslav Kysela wrote:
> 
> The subs function argument may be NULL, so do not use it before the NULL check.
> 
> Fixes: 291e9da91403 ("ALSA: usb-audio: Always initialize fixed_rate in snd_usb_find_implicit_fb_sync_format()")
> Reported-by: coverity-bot <keescook@xxxxxxxxxxxx>
> Link: https://lore.kernel.org/alsa-devel/202301121424.4A79A485@keescook/
> Signed-off-by: Jaroslav Kysela <perex@xxxxxxxx>

Applied, thanks.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux