1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys/boot/common
Jesper Skriver 961c53b8e4 In sys/boot/common/module.c, near line 105 a request for a raw
file is processed by passing its name in argv[1]:
        return(mod_loadobj(typestr, argv[1]));
however, it is not tested to see if argv[1] actually is defined.

At best, mod_loadobj() near line 244 returns an error like
"can't find 'garbage'" but if the "filename" entered is sufficiently
long, some buffer gets overrun. Of course, "load -t filename" is
actually a typo because we meant to type "load -t mfs_root filename";
nevertheless, a hung machine seems like too harsh a punishment for
such a small typo...

PR:			i386/27693
Submitted by:	Adrian Steinmann <ast@marabu.ch>
MFC after:	1 week
2001-05-27 23:26:11 +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_aout.c
load_elf.c
load.c
loader.8 Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
ls.c
Makefile.inc MAN[1-9] -> MAN. 2001-03-27 11:59:22 +00:00
merge_help.awk
misc.c
module.c In sys/boot/common/module.c, near line 105 a request for a raw 2001-05-27 23:26:11 +00:00
newvers.sh setlocale(3) has been fixed to match POSIX standard: 2001-03-02 16:52:14 +00:00
panic.c
pnp.c
pnpdata