Subject: CVS commit: basesrc/usr.bin/ldd/ldd_elf
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 10/09/2002 18:43:35
Module Name:	basesrc
Committed By:	nathanw
Date:		Wed Oct  9 15:43:34 UTC 2002

Modified Files:
	basesrc/usr.bin/ldd/ldd_elf: ldd.c

Log Message:
Pass _rtld_map_object a heap-allocated path, since it will free the
path on failure. Prevents calling free() on a stack address if you run
ldd on an unrecognized file format.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 basesrc/usr.bin/ldd/ldd_elf/ldd.c

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