Re: sound: usb: usx2y: is it a null pointer deference in function usX2Y_rate_set?

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

 



you can patch it and add a Reported by  Lin Yi <teroincn@xxxxxxxxx>
if  pleasure.~

thanks,

Lin Yi

Takashi Iwai <tiwai@xxxxxxx> 于2020年4月20日周一 下午3:34写道:
>
> On Mon, 20 Apr 2020 09:22:11 +0200,
> 亿一 wrote:
> >
> > Hi, all:
> >     when reviewing function usX2Y_rate_set, here may exist a NULL
> > pointer deference if kmalloc_array failed or usb_alloc_urb failed,
> > in cleanup,  we should judge whether us->urb[i] is NULL first.
>
> Right, that's a missing check.  Would you submit the fix patch, or
> shall I write quickly?
>
>
> 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