[alsa-devel] [PATCH] ALSA: usx2y: Fix potential NULL pointer dereference

Takashi Iwai tiwai at suse.de
Wed Mar 13 11:27:24 CET 2019


On Tue, 05 Mar 2019 00:00:02 +0100,
Aditya Pakki wrote:
> 
>  usb_alloc_urb can fail due to kmalloc failure and push the error
>  upstream. Further this can cause a NULL pointer dereference in
>  init_pipe_urbs. This patch avoids such a scenario.
> 
> Signed-off-by: Aditya Pakki <pakki001 at umn.edu>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list