Subject: Re: lib/19638: isalpha (3) bug
To: Mike Cheponis <mac@Wireless.Com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: netbsd-bugs
Date: 01/03/2003 17:54:14
Mike Cheponis <mac@Wireless.Com> writes:

> Maybe I'm an old fuddy-duddy, but it seems to me that if you pass
> to a routine (ESPECIALLY A libc ROUTINE) a perfectly valid argument,
> the routine SHOULD NOT SEGFAULT.

I'll reiterate what I said at the end of the last message: The
function gets to define "perfectly valid", and it can be more strict
than the prototype. The fact that a value is of type "int" does not
make it valid input to isalpha() and friends.

        - Nathan