From owner-freebsd-security Mon Jun 7 8:18:28 1999 Delivered-To: freebsd-security@freebsd.org Received: from jason.argos.org (a1-3b169.neo.rr.com [24.93.181.169]) by hub.freebsd.org (Postfix) with ESMTP id ADC6815046 for ; Mon, 7 Jun 1999 08:18:26 -0700 (PDT) (envelope-from mike@argos.org) Received: from localhost (mike@localhost) by jason.argos.org (8.9.1/8.9.1) with ESMTP id LAA04987; Mon, 7 Jun 1999 11:23:47 -0400 Date: Mon, 7 Jun 1999 11:23:47 -0400 (EDT) From: Mike Nowlin To: Dag-Erling Smorgrav Cc: John Baldwin , Wes Peters , freebsd-security@FreeBSD.ORG Subject: Re: NIS strangeness In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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