Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2001 16:44:33 +0100
From:      "Ray Bellis" <rpb@community.net.uk>
To:        <mike@FreeBSD.org>
Cc:        <freebsd-bugs@FreeBSD.org>
Subject:   Re: misc/11024: getpwnam(3) uses incorrect #define to limit username length
Message-ID:  <000d01c11132$df8d7030$0403020a@RPB>
References:  <200107201506.f6KF6GM24936@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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?000d01c11132$df8d7030$0403020a>