Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 1999 11:23:47 -0400 (EDT)
From:      Mike Nowlin <mike@argos.org>
To:        Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc:        John Baldwin <jobaldwi@vt.edu>, Wes Peters <wes@softweyr.com>, freebsd-security@FreeBSD.ORG
Subject:   Re: NIS strangeness
Message-ID:  <Pine.LNX.4.05.9906071122550.4850-100000@jason.argos.org>
In-Reply-To: <xzpvhd0kpp6.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help

> The test program you posted doesn't do *any* error-checking... which
> means that if getpwnam() fails, your program will happily try to
> dereference a null pointer, hence the SIGSEGV.

Shoulda put that disclaimer in -- that one was quick-and-dirty --
normally, my programs aren't that badly done.. :)

mike




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.05.9906071122550.4850-100000>