Re: [PATCH] thunderbolt: check the return value of kmemdup()

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

 



On Mon, Dec 13, 2021 02:10 PM, Greg KH wrote:
> kmemdup() return NULL when some internal memory errors happen, it is
> better to check the return value of it. Otherwise, some memory errors
> will not be catched in time and may further result in wrong memory> access.
> 
> Signed-off-by: xkernel <xkernel.wang@xxxxxxxxxxx>
>
> Please use your "full" name, I doubt you sign documents as "xkernel". :)
>
> thanks,
>
> greg k-h

I am very sorry about that, my full name is "Xiaoke Wang".




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux