Re: [PATCH] tracing: Fix possible crash in ftrace_free_ftrace_ops()

From: Ammar Faizi
Date: Mon May 09 2022 - 03:51:18 EST


On 5/9/22 8:33 AM, Jeff Xie wrote:
I am so sorry to bother you, this may be an invalid patch, kfree can
return directly from null. ;-)

Yeah, kfree(NULL) is a valid call. There's no potential crash here.

--
Ammar Faizi