From owner-freebsd-security Tue Sep 17 00:08:01 1996 Return-Path: owner-security Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA16057 for security-outgoing; Tue, 17 Sep 1996 00:08:01 -0700 (PDT) Received: from relay.philips.nl (ns.philips.nl [130.144.65.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA16042 for ; Tue, 17 Sep 1996 00:07:57 -0700 (PDT) Received: (from smap@localhost) by relay.philips.nl (8.6.9/8.6.9-950414) id JAA15993; Tue, 17 Sep 1996 09:07:12 +0200 Received: from unknown(192.26.173.32) by ns.philips.nl via smap (V1.3+ESMTP) with ESMTP id sma015764; Tue Sep 17 09:05:43 1996 Received: from spooky.lss.cp.philips.com (spooky.lss.cp.philips.com [130.144.199.105]) by smtp.nl.cis.philips.com (8.6.10/8.6.10-0.9z-02May95) with ESMTP id JAA07629; Tue, 17 Sep 1996 09:08:37 +0200 Received: (from guido@localhost) by spooky.lss.cp.philips.com (8.6.10/8.6.10-0.991c-08Nov95) id JAA05929; Tue, 17 Sep 1996 09:05:37 +0200 From: Guido van Rooij Message-Id: <199609170705.JAA05929@spooky.lss.cp.philips.com> Subject: Re: Vipw/pwd_mkdb Bug (?) To: cschuber@orca.gov.bc.ca Date: Tue, 17 Sep 1996 09:05:37 +0200 (MET DST) Cc: freebsd-security@freebsd.org, cy@passer.osg.gov.bc.ca Reply-To: Guido.vanRooij@nl.cis.philips.com In-Reply-To: <199609161727.KAA27232@passer.osg.gov.bc.ca> from Cy Schubert - ITSD Open Systems Group at "Sep 16, 96 10:27:27 am" X-Mailer: ELM [version 2.4ME+ PL19 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-security@freebsd.org X-Loop: FreeBSD.org Precedence: bulk There is another place where I also had an argument with getpwnam() and friends. From memory I believe there is some state in these functions. Yep, I remember now. I had to reverse the order of a pair of getgrname() getpwnam() to getpwnam() getgrnam() In /usr.bin/xinstall/xinstall.c. -Guido