Re: Modprobe local root exploit

From: David Relson (relson@osagesoftware.com)
Date: Tue Nov 14 2000 - 11:25:03 EST


Daniel,

At 09:23 AM 11/14/00, you wrote:
I reserve the right to make coding errors, thanks for not letting it get
written into history :-)

I'm not going to give up my right to make errors until I'm ready to give up
my keyboard. I'll probably be pushing up daisies at that point in my life.

How about:

   for ( ... ) if (!isalnum(*p) && !strchr("-_", *p)) return -EINVAL;

I think that is correct. However, it fails the "easy to understand"
criterion, so I don't like it.]

David
--------------------------------------------------------
David Relson Osage Software Systems, Inc.
relson@osagesoftware.com 514 W. Keech Ave.
www.osagesoftware.com Ann Arbor, MI 48103
voice: 734.821.8800 fax: 734.821.8800

-
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:26 EST