Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756734AbYH1A1S (ORCPT ); Wed, 27 Aug 2008 20:27:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754454AbYH1A1F (ORCPT ); Wed, 27 Aug 2008 20:27:05 -0400 Received: from abydos.nerdbox.net ([216.151.149.55]:42156 "EHLO abydos.NerdBox.Net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754120AbYH1A1E (ORCPT ); Wed, 27 Aug 2008 20:27:04 -0400 Date: Wed, 27 Aug 2008 17:27:00 -0700 (PDT) From: Steve VanDeBogart To: Ingo Molnar cc: linux-kernel@vger.kernel.org, Roland McGrath , Oleg Nesterov Subject: Re: [PATCH] exit signals: use of uninitialized field notify_count In-Reply-To: <20080827080136.GA4453@elte.hu> Message-ID: References: <20080827080136.GA4453@elte.hu> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1124 Lines: 31 On Wed, 27 Aug 2008, Ingo Molnar wrote: > > * Steve VanDeBogart 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 > > 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? Thanks. Yes, I am running Valgrind on UML. I revisited the previous patches that allowed it and tried to remove any unnecessary changes. The patches and a recipe on how to make it work can be found on the UML wiki: http://uml.jfdi.org/uml/Wiki.jsp?page=ValgrindingUML I'll stir up trouble by posting the kernel patches on lkml after a little more cleanup. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/