freebsd-dev/sys/boot/i386/libi386
Toomas Soome c1e968fb62 loader: verify the value from dhcp.interface-mtu and use snprintf to set mtu
Since the uset can set dhcp.interface-mtu, we need to try to validate the
value. So we verify if the conversion to int is successful and we will not
allow to set value greater than max IPv4 packet size.

Also use snprintf for safety.

Reviewed by:	allanjude, bapt
Approved by:	allanjude (mentor)
Differential Revision:	https://reviews.freebsd.org/D8492
2017-03-20 22:20:17 +00:00
..
amd64_tramp.S sys/boot: spelling fixes in comments. 2016-04-30 00:26:38 +00:00
biosacpi.c Deprecate using hints.acpi.0.rsdp to communicate the RSDP to the 2016-04-14 04:59:51 +00:00
bioscd.c loader: disk io should not use alloca() 2017-02-06 18:44:15 +00:00
biosdisk.c loader: biosdisk should report IO error from INT13 2017-03-16 21:34:14 +00:00
biosmem.c A new implementation of the loader block cache 2016-04-18 23:09:22 +00:00
biospci.c Really make WITHOUT_FORTH (MK_FORTH==no) work. The recent inclusion of 2016-10-25 17:31:57 +00:00
biospnp.c
biossmap.c
bootinfo32.c
bootinfo64.c
bootinfo.c
comconsole.c
devicename.c
elf32_freebsd.c
elf64_freebsd.c
i386_copy.c
i386_module.c
libi386.h Create a new linker set, Xficl_compile_set which contains a list of 2016-10-14 16:23:12 +00:00
Makefile Create a new linker set, Xficl_compile_set which contains a list of 2016-10-14 16:23:12 +00:00
Makefile.depend
multiboot_tramp.S
multiboot.c
multiboot.h
nullconsole.c
pread.c
pxe.c loader: verify the value from dhcp.interface-mtu and use snprintf to set mtu 2017-03-20 22:20:17 +00:00
pxe.h loader: pxe.h constants have wrong values 2017-03-20 18:15:36 +00:00
pxetramp.s
smbios.c loader: smbios version check is not correct 2016-11-19 16:08:40 +00:00
smbios.h
spinconsole.c
time.c
vidconsole.c