Re: [Xenomai-core] Race in rpi_clear_remote?

2010-04-26 Thread Jan Kiszka
Jan Kiszka wrote: > Hi, > > I'm meditating over an oops in rpi_clear_remote. NULL pointer deref, it > /seems/ like thread->rpi is invalid. Looking at the code, I wonder if > this could explain the bug: > > > static void rpi_clear_remote(struct xnthread *thread) > { > ... > rpi = thread->

[Xenomai-core] Race in rpi_clear_remote?

2010-04-26 Thread Jan Kiszka
Hi, I'm meditating over an oops in rpi_clear_remote. NULL pointer deref, it /seems/ like thread->rpi is invalid. Looking at the code, I wonder if this could explain the bug: static void rpi_clear_remote(struct xnthread *thread) { ... rpi = thread->rpi; if (unlikely(rpi == NULL))