From: Ingo Molnar <mingo@elte.hu>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH][RESEND] tracepoint: Check if the probe has been registered
Date: Mon, 27 Oct 2008 16:46:00 +0100 [thread overview]
Message-ID: <20081027154600.GO5704@elte.hu> (raw)
In-Reply-To: <48FF5F8F.6070202@gmail.com>
* 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>
> Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
> Acked-by: Steven Rostedt <srostedt@redhat.com>
> ---
> kernel/tracepoint.c | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
applied to tip/tracing/urgent, thanks Frederic!
Ingo
prev parent reply other threads:[~2008-10-27 15:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-22 17:14 Frederic Weisbecker
2008-10-27 15:46 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081027154600.GO5704@elte.hu \
--to=mingo@elte.hu \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome