Re: [PATCH] exit signals: use of uninitialized field notify_count

From: Ingo Molnar
Date: Wed Aug 27 2008 - 04:02:17 EST



* Steve VanDeBogart <vandebo-lkml@xxxxxxxxxxx> wrote:

> task->signal->notify_count is only initialized if
> task->signal->group_exit_task is not NULL. Reorder a conditional so
> that uninitialised memory is not used. Found by Valgrind.
>
> Signed-off-by: Steve VanDeBogart <vandebo-lkml@xxxxxxxxxxx>

Applied the commit below to tip/core/urgent, thanks. Roland/Oleg, do you
concur with the fix?

nice find btw. - are you running Valgrind on UML?

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/