Re: uinput oops in 2.5.41

Zach Welch (zwelch@superlucidity.net)
Thu, 10 Oct 2002 14:32:42 -0700


Vojtech Pavlik wrote:
> On Wed, Oct 09, 2002 at 03:50:41AM -0500, Maciej Babinski wrote:
>
>>I get a NULL pointer dereference by running "cat" on /dev/misc/uinput
>>I'm a newbie, but I think the patch at the bottom fixes it.
>
>
> Your patch is almost correct - you have to keep both the checks. The
> first could happen when the device disappears while being waited for.
>

I've added this to my backport to 2.4. I'll be posting it very shortly
under the subject 'backport of uinput.c to 2.4, fixes for 2.5'. This
will include numerous additional fixes to uinput.c.

Cheers,

Zach Welch
Superlucidity Services

-
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/