From owner-freebsd-doc Wed Jan 6 14:20:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA15212 for freebsd-doc-outgoing; Wed, 6 Jan 1999 14:20:09 -0800 (PST) (envelope-from owner-freebsd-doc@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA15205 for ; Wed, 6 Jan 1999 14:20:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA11431; Wed, 6 Jan 1999 14:20:01 -0800 (PST) Date: Wed, 6 Jan 1999 14:20:01 -0800 (PST) Message-Id: <199901062220.OAA11431@freefall.freebsd.org> To: doc@FreeBSD.ORG From: dannyman Subject: Re: docs/9351: 2.2.8-RELEASE/ERRATA.TXT should include getpwent.c semantics Reply-To: dannyman Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR docs/9351; it has been noted by GNATS. From: dannyman To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: docs/9351: 2.2.8-RELEASE/ERRATA.TXT should include getpwent.c semantics Date: Wed, 6 Jan 1999 16:14:18 -0600 I reckon I should "submit" a "fix" ... HTH On Wed, Jan 06, 1999 at 07:42:28PM -0000, dannyman@sasquatch.dannyland.org wrote: >Fix: Append the following, or something like it, to the errata file: o getpwnam(3) semantics are incorrect in some cases. Fix: If passed a string longer than the maximum allowed for a user name, getpwnam will incorrectly return an entry for a user that matches the initial characters in the string up to the maximum length allowed for a user name. To correct this behaviour, libc needs to be patched and recompiled. The appropriate patch can be obtained at http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/getpwent.c.diff?r1=1.35.2.2&r2=1.35.2.3 -- ___ http://www.dannyland.org/~dannyman/ dannyman yori aiokomete /___\ University of Illinois: Our Honored Symbol Merits Honored Retirement (o\ | /o) // Beetles and Amigas - I'm a sucker for outdated, unsupported U"""""U \\/ hardware which has retained it's unique personality and grace. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message