freebsd-dev/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 Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
boot.c The default kernel filename is "kernel" again, not "kernel.ko". 2000-11-17 04:43:56 +00:00
bootstrap.h Make the pnp structure a global variable, so it can be used elsewhere. 2000-09-08 16:51:29 +00:00
commands.c Whenever the user might be offered a chance to quit through 2001-02-22 11:22:14 +00:00
console.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dev_net.c Give the network device a print method. 2000-11-10 06:37:43 +00:00
dev_net.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
devopen.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
help.common Some more i386-only BIOS-friendliness: 2000-04-16 20:48:33 +00:00
interp_backslash.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
interp_forth.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
interp_parse.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
interp.c Change NOFORTH comment character from # to \ followed by space, 2000-09-10 13:48:51 +00:00
isapnp.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
isapnp.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
load_aout.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
load_elf.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
load.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
loader.8 Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
ls.c GC unused variable (size) 2000-05-01 18:03:15 +00:00
Makefile.inc MAN[1-9] -> MAN. 2001-03-27 11:59:22 +00:00
merge_help.awk $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
misc.c Delay calling the device cleanup routines until the absolute last 2000-06-14 10:34:29 +00:00
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 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pnp.c Use <sys/queue.h> macro API. 2000-12-30 20:40:16 +00:00
pnpdata $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00