From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4BC85899.90700@domain.hid> Date: Fri, 16 Apr 2010 14:31:21 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4BC855E6.106@domain.hid> In-Reply-To: <4BC855E6.106@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] [Xenomai-git] Wolfgang Mauerer : RTDM: Fix potential NULL pointer dereference List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: xenomai-core Gilles Chanteperdrix wrote: > GIT version control wrote: >> Module: xenomai-jki >> Branch: for-upstream >> Commit: 55ebde80258b5b6c3d29d37b5f30a3199faf0881 >> URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=55ebde80258b5b6c3d29d37b5f30a3199faf0881 >> >> Author: Wolfgang Mauerer >> Date: Tue Mar 30 11:13:33 2010 +0200 >> >> RTDM: Fix potential NULL pointer dereference >> >> The rework in 95278926edc559d4 misses the case that context can be NULL, >> which can (and has) triggered a kernel oops. Take care of this case. >> >> Signed-off-by: Wolfgang Mauerer >> Signed-off-by: Jan Kiszka > > I still think that fix is a useles waste of time. Let us merge > Philippe's patches instead. Please accept that Philippe's patch is orthogonal to this bug. And it didn't work as-is. I'll post a rework which has the same benefit (avoiding to poll on pending context references) - once it is tested. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux