From owner-freebsd-bugs Fri Jul 20 8:45:20 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from mail02.office.community.net.uk (fwe.office.community.net.uk [195.72.161.14]) by hub.freebsd.org (Postfix) with ESMTP id A936737B401; Fri, 20 Jul 2001 08:45:17 -0700 (PDT) (envelope-from rpb@community.net.uk) Received: from dhcp-4.office.community.net.uk ([10.2.3.4] helo=RPB) by mail.office.community.net.uk with smtp (Exim 3.22 #1) id 15NcSq-0003Lq-00; Fri, 20 Jul 2001 16:45:16 +0100 Message-ID: <000d01c11132$df8d7030$0403020a@RPB> From: "Ray Bellis" To: Cc: References: <200107201506.f6KF6GM24936@freefall.freebsd.org> Subject: Re: misc/11024: getpwnam(3) uses incorrect #define to limit username length Date: Fri, 20 Jul 2001 16:44:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2479.0006 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 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 > 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