[6184] in bugtraq
Re: FreeBSD getpass "feature"
daemon@ATHENA.MIT.EDU (Guido van Rooij)
Thu Feb 26 14:05:56 1998
Date: Thu, 26 Feb 1998 09:09:32 +0100
Reply-To: Guido van Rooij <Guido.vanRooij@NL.CIS.PHILIPS.COM>
From: Guido van Rooij <Guido.vanRooij@NL.CIS.PHILIPS.COM>
X-To: bmacke@telegroup.com
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To: <Pine.LNX.3.96.980225125429.32222A-100000@mandrake.telegroup.com>
from Brian Macke at "Feb 25, 98 12:57:08 pm"
Brian Macke wrote:
> I just verified this on our servers... it appears to only affect the 2.2
> series kernel, and not 2.1 and lower. For 2.1, even with multiple intr's,
> it will not echo the password.
>
> Did Guido have any ideas on what changed in the 2.2 series to warrant
> this?
Yes. See the cvs log on www.freebsd.org:
http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/getpass.c
You want to look at rev 1.4
It was broken in an attempt to have proper signal handling in getpass().
-Guido