Re: [PATCH] extra memory checking in tty_io.c (2.2.12)

Steve Dodd (dirk@loth.demon.co.uk)
Wed, 15 Sep 1999 21:51:18 +0100


On Wed, Sep 15, 1999 at 07:01:11AM -0700, Mooneer Salem wrote:

> I'm not sure if this would fix any bugs, but it's worth a shot:

[snip]
> + if (!driver) {
> + return 0;
> + }
> +

Off the top of my head, it certainly won't fix any bugs, it'll hide them.
Anything which does pass a null pointer should oops "cleanly" (i.e., outside
of interrupts AFAICS) at the moment, which allows it to be fixed..

-- 
Hail Eris!

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