allanjude 21d35752fa 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
..
2018-03-13 16:33:00 +00:00
2018-02-02 15:01:49 +00:00
2018-03-13 16:33:00 +00:00
2018-03-13 16:33:00 +00:00
2018-03-13 16:33:00 +00:00
2018-03-13 16:33:00 +00:00
2018-02-02 06:32:26 +00:00
2018-03-13 16:33:00 +00:00
2018-03-13 16:33:00 +00:00
2018-04-13 21:18:04 +00:00