From owner-freebsd-bugs Fri Jul 20 9:10:38 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 68DAF37B409 for ; Fri, 20 Jul 2001 09:10:30 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6KGAUH35917; Fri, 20 Jul 2001 09:10:30 -0700 (PDT) (envelope-from gnats) Date: Fri, 20 Jul 2001 09:10:30 -0700 (PDT) Message-Id: <200107201610.f6KGAUH35917@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mike Barcroft Subject: Re: misc/11024: getpwnam(3) uses incorrect #define to limit username length Reply-To: Mike Barcroft Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/11024; it has been noted by GNATS. From: Mike Barcroft To: freebsd-gnats-submit@FreeBSD.org Cc: Ray Bellis Subject: Re: misc/11024: getpwnam(3) uses incorrect #define to limit username length Date: Fri, 20 Jul 2001 12:26:31 -0400 Message from originator, that relates to this PR. On Fri, Jul 20, 2001 at 04:44:33PM +0100, Ray Bellis wrote: > > Synopsis: getpwnam(3) uses incorrect #define to limit username length > > > > State-Changed-From-To: feedback->closed > > State-Changed-By: mike > > State-Changed-When: Fri Jul 20 08:01:09 PDT 2001 > > State-Changed-Why: > > > > Originator indicated, in a private e-mail to me, that he isn't able to > > test this in a newer version of FreeBSD. But since the variable that > > was causing the problem no longer exists, I feel it's safe to close > > this PR. > > > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=11024 > > I disagree. > > Looking through the CVS web interfaces there are still places in the > source where UT_NAMESIZE is used instead of MAXLOGNAME (eg > usr.bin/login/login.c). If they happen to be the same value, it'll > still work, but if a sysadmin changes MAXLOGNAME it won't have the > desired effect. > > regards, > > Ray > > -- > Ray Bellis, MA(Oxon) - Technical Director > community internet plc - TicketingSolutions.com Ltd > > Windsor House, 12 High Street, Kidlington, Oxford, OX5 2PJ > tel: +44 1865 856000 email: ray.bellis@community.net.uk > fax: +44 1865 856001 web: http://www.community.net.uk/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message