Re: Modprobe local root exploit

From: Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Date: Tue Nov 14 2000 - 23:09:32 EST


Daniel Phillips <news-innominate.list.linux.kernel@innominate.de> said:

[...]

> Heading in the right direction, but this is equivalent to:
>
> if (isalnum(*p) && *p != '-' && *p != '_') return -EINVAL;
>
> which is faster, smaller and easier to read.

And wrong. ;-)

--
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Vin~a del Mar, Chile                               +56 32 672616
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:27 EST