Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2000 19:11:08 -0600
From:      "Jacques A. Vidrine" <n@nectar.com>
To:        brian@FreeBSD.org
Cc:        freebsd-bugs@FreeBSD.org, kris@FreeBSD.org
Subject:   Re: bin/22307: ssh dumps core if fields in password entry are empty
Message-ID:  <20001031191108.C5333@spawn.nectar.com>
In-Reply-To: <200011010012.QAA65253@freefall.freebsd.org>; from brian@FreeBSD.org on Tue, Oct 31, 2000 at 04:12:06PM -0800
References:  <200011010012.QAA65253@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 31, 2000 at 04:12:06PM -0800, brian@FreeBSD.org wrote:
> Synopsis: ssh dumps core if fields in password entry are empty
> 
> Responsible-Changed-From-To: freebsd-bugs->kris
> Responsible-Changed-By: brian
> Responsible-Changed-When: Tue Oct 31 16:08:25 PST 2000
> Responsible-Changed-Why: 
> I submitted a patch to kris a while ago for this....
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=22307

I think I fixed this with rev. 1.56 of src/lib/libc/gen/getpwent.c.

Though applications should check if pointers are NULL before
dereferencing, it appears that many do not when it comes to getpw*
results.
-- 
Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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