Subject: CVS commit: src/libexec/ld.elf_so
To: None <source-changes@netbsd.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 02/06/2003 14:38:18
Module Name:	src
Committed By:	fvdl
Date:		Thu Feb  6 12:38:17 UTC 2003

Modified Files:
	src/libexec/ld.elf_so: map_object.c

Log Message:
If fstat info was passed, and from it it can be seen that the file size
is smaller than an ELF header, don't even bother to try to look at it.
Avoids coredumps with zero-sized files.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/libexec/ld.elf_so/map_object.c

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