freebsd-dev/stand/i386
Allan Jude 71f0c895c1 Avoid reading past the end of the disk in zfsboot.c and biosdisk.c
The GELI boot code rounds reads up to 4k, since the encrypted sectors are
4k, and must be decrypted as a unit. With oddball sized disks (almost
always virtual), this can lead to reading past the end of the disk.

Reviewed by:	imp, tsoome
Sponsored by:	Klara Systems
Differential Revision:	https://reviews.freebsd.org/D15844
2018-06-16 15:16:02 +00:00
..
boot0 Centralize several variables. 2018-02-02 06:32:26 +00:00
boot0sio
boot2 Further style(9) changes. 2018-02-21 18:32:06 +00:00
btx Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
cdboot Centralize several variables. 2018-02-02 06:32:26 +00:00
common Remove the 'mini libstand in libstand' that util.[ch] provided. These 2017-12-15 23:16:53 +00:00
gptboot Fix build of stand with base gcc 2018-05-31 14:38:13 +00:00
gptzfsboot Fix build of stand with base gcc 2018-05-31 14:38:13 +00:00
isoboot Fix build of stand with base gcc 2018-05-31 14:38:13 +00:00
kgzldr Centralize several variables. 2018-02-02 06:32:26 +00:00
libfirewire fwohcireg.h is 99% the same between the boot loader and the 2018-03-31 22:02:59 +00:00
libi386 Avoid reading past the end of the disk in zfsboot.c and biosdisk.c 2018-06-16 15:16:02 +00:00
loader bootprog_info is generated in vers.c. Move it's definition to 2018-06-14 06:41:33 +00:00
mbr Centralize several variables. 2018-02-02 06:32:26 +00:00
pmbr Centralize several variables. 2018-02-02 06:32:26 +00:00
pxeldr
zfsboot Avoid reading past the end of the disk in zfsboot.c and biosdisk.c 2018-06-16 15:16:02 +00:00
zfsloader
boot.ldscript
Makefile Add isoboot(8) for booting BIOS systems from HDDs containing ISO images. 2018-04-05 19:40:46 +00:00
Makefile.inc Add support for linker-type-specific flags 2018-04-19 20:58:09 +00:00