Re: [PATCH] oprofile: fix uninitialized use of struct op_entry

From: Ingo Molnar
Date: Sat Jan 17 2009 - 11:27:35 EST



* Robert Richter <robert.richter@xxxxxxx> 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@xxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/