From owner-freebsd-security Wed May 14 02:51:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA05390 for security-outgoing; Wed, 14 May 1997 02:51:12 -0700 (PDT) Received: from bsd.fs.bauing.th-darmstadt.de (bsd.fs.bauing.th-darmstadt.de [130.83.63.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA05383 for ; Wed, 14 May 1997 02:51:10 -0700 (PDT) Received: from campa.panke.de (anonymous215.ppp.cs.tu-berlin.de [130.149.17.215]) by bsd.fs.bauing.th-darmstadt.de (8.8.5/8.8.5) with ESMTP id LAA23332; Wed, 14 May 1997 11:51:03 +0200 (MET DST) Received: (from wosch@localhost) by campa.panke.de (8.8.5/8.6.12) id LAA00570; Wed, 14 May 1997 11:49:23 +0200 (MET DST) Date: Wed, 14 May 1997 11:49:23 +0200 (MET DST) Message-Id: <199705140949.LAA00570@campa.panke.de> From: Wolfram Schneider To: Bruce Evans Cc: wosch@apfel.de, freebsd-security@FreeBSD.ORG, wollman@khavrinen.lcs.mit.edu Subject: Re: Linux UID/GID 'Feature' In-Reply-To: <199705140209.MAA23416@godzilla.zeta.org.au> References: <199705140209.MAA23416@godzilla.zeta.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-security@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 http://www.apfel.de/~wosch/