Re: [PATCH] protect against buggy drivers

From: Alan Cox
Date: Fri Oct 08 2004 - 12:27:26 EST


On Gwe, 2004-10-08 at 17:53, Stephen Hemminger wrote:
> # fs/char_dev.c
> # 2004/10/08 09:51:52-07:00 shemminger@xxxxxxxxxxxxxxxxx +5 -0
> # Protect against bad driver writers who pass invalid names when
> # setting up character devices.
> #

And how many badly mannered people check the return on this ?
Shouldn't it just BUG() ?


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/