[patch] fix segfault when rfkill device does not have type
Danny Kukawka
danny.kukawka at web.de
Thu Oct 9 00:23:20 PDT 2008
On Mittwoch, 8. Oktober 2008, Dan Williams wrote:
> On Wed, 2008-10-08 at 20:58 +0100, Richard Hughes wrote:
> > Attached patch fixes a crash when the rfkill device does not have a
> > type. Backtrace is at https://bugzilla.redhat.com/show_bug.cgi?id=466150
> >
> > I've committed this.
>
> Do we have any idea what drivers cause this, and if so, can we bash
> those drivers with a cluebat? Shouldn't ever happen if the drivers
> don't suck of course and HAL needs not to crash here, but we should also
> fix stuff upstream.
Also from the backtrace it looks like a buggy driver. The sysfs path looks
strange too: /sys/rfkill0 . Shouldn't it be something
like /sys/class/rfkill/rfkill0 ?
Danny
More information about the hal
mailing list