[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_D34525AAFF71905A66815C118E0E8A96F007@qq.com>
Date: Mon, 13 Dec 2021 14:27:28 +0800
From: "Xiaoke Wang" <xkernel.wang@...mail.com>
To: "Greg KH" <gregkh@...uxfoundation.org>
Cc: "linux-usb" <linux-usb@...r.kernel.org>,
"linux-kernel" <linux-kernel@...r.kernel.org>,
"andreas.noever" <andreas.noever@...il.com>,
"michael.jamet" <michael.jamet@...el.com>,
"mika.westerberg"
<mika.westerberg@...ux.intel.com>,
"YehezkelShB" <YehezkelShB@...il.com>
Subject: Re: [PATCH] thunderbolt: check the return value of kmemdup()
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@...mail.com>
>
> 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".
Powered by blists - more mailing lists