All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [Xenomai-git] Wolfgang Mauerer : RTDM: Fix potential NULL pointer dereference
Date: Fri, 16 Apr 2010 14:31:21 +0200	[thread overview]
Message-ID: <4BC85899.90700@domain.hid> (raw)
In-Reply-To: <4BC855E6.106@domain.hid>

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 <wolfgang.mauerer@domain.hid>
>> 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 <wolfgang.mauerer@domain.hid>
>> Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
> 
> 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


  reply	other threads:[~2010-04-16 12:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1O2jBF-0000vQ-JB@xenomai.org>
2010-04-16 12:19 ` [Xenomai-core] [Xenomai-git] Wolfgang Mauerer : RTDM: Fix potential NULL pointer dereference Gilles Chanteperdrix
2010-04-16 12:31   ` Jan Kiszka [this message]
2010-04-16 12:58     ` Gilles Chanteperdrix
2010-04-16 13:09       ` Jan Kiszka
2010-04-16 13:28         ` Gilles Chanteperdrix
2010-04-16 13:34           ` Jan Kiszka
2010-04-16 13:37             ` Gilles Chanteperdrix
2010-04-16 13:10     ` Philippe Gerum
2010-04-16 14:04       ` Jan Kiszka
2010-04-16 14:26         ` Philippe Gerum

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=4BC85899.90700@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.