The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Robert Richter <robert.richter@amd.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] oprofile: fix uninitialized use of struct op_entry
Date: Sat, 17 Jan 2009 17:26:57 +0100	[thread overview]
Message-ID: <20090117162657.GE10825@elte.hu> (raw)
In-Reply-To: <1232208807-26699-1-git-send-email-robert.richter@amd.com>


* Robert Richter <robert.richter@amd.com> wrote:

> In case of losing samples struct op_entry could have been used
> uninitialized causing e.g. a wrong preemtion count or NULL pointer
> access. This patch fixes this.
> 
> Signed-off-by: Robert Richter <robert.richter@amd.com>
> ---
>  drivers/oprofile/cpu_buffer.c |    5 +++++
>  drivers/oprofile/cpu_buffer.h |    7 +++++++
>  2 files changed, 12 insertions(+), 0 deletions(-)

applied to tip/core/urgent, thanks Robert!

	Ingo

      reply	other threads:[~2009-01-17 16:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-17 16:13 [PATCH] oprofile: fix uninitialized use of struct op_entry Robert Richter
2009-01-17 16:26 ` 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=20090117162657.GE10825@elte.hu \
    --to=mingo@elte.hu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robert.richter@amd.com \
    /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