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

From: Steven Rostedt
Date: Mon May 09 2022 - 18:54:58 EST


On Mon, 9 May 2022 09:33:44 +0800
Jeff Xie <xiehuan09@xxxxxxxxx> wrote:

> I am so sorry to bother you, this may be an invalid patch, kfree can
> return directly from null. ;-)

Yes, and so does free() in user space glibc.

-- Steve