Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2001 09:10:30 -0700 (PDT)
From:      Mike Barcroft <mike@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/11024: getpwnam(3) uses incorrect #define to limit username length
Message-ID:  <200107201610.f6KGAUH35917@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/11024; it has been noted by GNATS.

From: Mike Barcroft <mike@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc: Ray Bellis <rpb@community.net.uk>
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




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