Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 1997 11:49:23 +0200 (MET DST)
From:      Wolfram Schneider <wosch@apfel.de>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        wosch@apfel.de, freebsd-security@FreeBSD.ORG, wollman@khavrinen.lcs.mit.edu
Subject:   Re: Linux UID/GID 'Feature'
Message-ID:  <199705140949.LAA00570@campa.panke.de>
In-Reply-To: <199705140209.MAA23416@godzilla.zeta.org.au>
References:  <199705140209.MAA23416@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans writes:
>>>Another problem: isdigit(*p) is usually undefined if *p < 0.
>>
>>What does usually means? There is no warning in the isdigit manpage.
>
>Except when *p == EOF.  The man page is deficient.  So is ctype(3).

Fix the manpage or write a PR ;-)


>ANSI ctype functions are only valid for args that are representable as an
>unsigned char or equal to EOF.

__isctype in /usr/include/ctype.h return 0 if the argument
is less than 0 or greater or equal than 256. So I don't see
a real problem for FreeBSD.

--
Wolfram Schneider    <wosch@apfel.de>    http://www.apfel.de/~wosch/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705140949.LAA00570>