Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 06/02/2000 15:52:29
Module Name:	basesrc
Committed By:	jdolecek
Date:		Fri Jun  2 22:52:29 UTC 2000

Modified Files:
	basesrc/libexec/ld.elf_so: rtld.c

Log Message:
_rtld_unref_dag(): needed->obj might be null if the unreffed object has
	some unsatisfied references (most often when compiled without necessary
	-Wl,-R), so check for that instead of causing null-dereference;
	this way the code has a chance to cleanup after itself and report
	the error to caller

Thanks to Jason Thorpe for helping fix this!


To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 basesrc/libexec/ld.elf_so/rtld.c

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