Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: source-changes
Date: 11/10/1999 10:51:49
Module Name:	basesrc
Committed By:	abs
Date:		Wed Nov 10 18:51:49 UTC 1999

Modified Files:
	basesrc/usr.sbin/pkg_install/add: main.c

Log Message:
Check return value from realpath() to avoid a NULL pointer being passed to
alloc_lpkg(). Avoids coredump if current directory is invalid.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 basesrc/usr.sbin/pkg_install/add/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.