freebsd-nq/sys/boot/common
Marius Strobl e4846391da In moduledir_readhints() cast the value returned by sizeof() to ssize_t
when checking whether it's greater than a struct stat st_size in order
to also catch the case when st_size is -1. Previously this check didn't
trigger on sparc64 when st_size is -1 (as it's the case for a file on
a bzipfs, TFTP server etc.), causing the content of the linker hints
file to be copied to memory referenced by a null-pointer.

PR:		91231
MFC after:	1 week
2006-01-12 13:18:49 +00:00
..
bcache.c
boot.c
bootstrap.h
commands.c
console.c
dev_net.c
dev_net.h
devopen.c
help.common
interp_backslash.c
interp_forth.c
interp_parse.c
interp.c
isapnp.c
isapnp.h
load_elf32_obj.c
load_elf32.c
load_elf64_obj.c
load_elf64.c
load_elf_obj.c
load_elf.c
load.c
loader.8
ls.c
Makefile.inc
merge_help.awk
misc.c
module.c In moduledir_readhints() cast the value returned by sizeof() to ssize_t 2006-01-12 13:18:49 +00:00
newvers.sh
panic.c
pnp.c
pnpdata
reloc_elf32.c
reloc_elf64.c
reloc_elf.c
ufsread.c