Messages in this thread | | | Date | Tue, 25 Oct 2022 07:47:54 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH] fprobe: Check rethook_alloc() return in rethook initialization |
| |
On Tue, 25 Oct 2022 17:03:46 +0900 Masami Hiramatsu (Google) <mhiramat@kernel.org> wrote:
> On Tue, 25 Oct 2022 00:12:08 -0300 > Rafael Mendonca <rafaelmendsr@gmail.com> wrote: > > > Check if fp->rethook succeeded to be allocated. Otherwise, if > > rethook_alloc() fails, then we end up dereferencing a NULL pointer in > > rethook_add_node(). > > Good catch! > > Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> >
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Masami, feel free to pull this in.
-- Steve
| |