Messages in this thread | | | Date | Wed, 15 Dec 2021 12:51:26 +0200 | From | Mika Westerberg <> | Subject | Re: [PATCH] thunderbolt: check the return value of kmemdup() |
| |
Hi,
On Mon, Dec 13, 2021 at 04:27:15PM +0800, Xiaoke Wang wrote: > Note: Compare with the last email, this one is using my full name.
This should go below the '---' line. Remember this next time, no need to resend this one.
> 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: Xiaoke Wang <xkernel.wang@foxmail.com>
I sligthly modified the commit message and applied to thunderbolt.git/next, thanks!
| |