Messages in this thread | | | Date | Fri, 10 Oct 2008 16:00:23 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH 2/6] tracepoint: Check if the probe has been registered |
| |
* Frederic Weisbecker <fweisbec@gmail.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@gmail.com> > --- > kernel/tracepoint.c | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-)
applied to tip/tracing/tracepoints, thanks Frederic!
Mathieu, Steve, any objections/observations?
Ingo
| |