[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081027154600.GO5704@elte.hu>
Date: Mon, 27 Oct 2008 16:46:00 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][RESEND] tracepoint: Check if the probe has been
registered
* Frederic Weisbecker <fweisbec@...il.com> wrote:
> If we try to remove a probe that has not been already registered,
> the tracepoint_entry_remove_probe() function will dereference a NULL
> pointer.
> Check the probe before removing it to avoid crashes.
>
> Signed-off-by: Frederic Weisbecker <fweisbec@...il.com>
> Acked-by: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
> Acked-by: Steven Rostedt <srostedt@...hat.com>
> ---
> kernel/tracepoint.c | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
applied to tip/tracing/urgent, thanks Frederic!
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists