Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 1996 09:05:37 +0200 (MET DST)
From:      Guido van Rooij <Guido.vanRooij@nl.cis.philips.com>
To:        cschuber@orca.gov.bc.ca
Cc:        freebsd-security@freebsd.org, cy@passer.osg.gov.bc.ca
Subject:   Re: Vipw/pwd_mkdb Bug (?)
Message-ID:  <199609170705.JAA05929@spooky.lss.cp.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"

next in thread | previous in thread | raw e-mail | index | archive | help
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



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