[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6689f8e3-b61b-9bb1-0334-a3e5f52df450@gnuweeb.org>
Date: Mon, 9 May 2022 14:34:28 +0700
From: Ammar Faizi <ammarfaizi2@...weeb.org>
To: Jeff Xie <xiehuan09@...il.com>
Cc: Ingo Molnar <mingo@...hat.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
Steven Rostedt <rostedt@...dmis.org>,
Tom Zanussi <zanussi@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] tracing: Fix possible crash in ftrace_free_ftrace_ops()
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
Powered by blists - more mailing lists