Re: svn commit: r335254 - in head/stand/i386: libi386 zfsboot

2018-06-17 Thread O. Hartmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Am Sat, 16 Jun 2018 15:16:03 + (UTC) Allan Jude schrieb: > Author: allanjude > Date: Sat Jun 16 15:16:02 2018 > New Revision: 335254 > URL: https://svnweb.freebsd.org/changeset/base/335254 > > Log: > Avoid reading past the end of the disk

svn commit: r335254 - in head/stand/i386: libi386 zfsboot

2018-06-16 Thread Allan Jude
Author: allanjude Date: Sat Jun 16 15:16:02 2018 New Revision: 335254 URL: https://svnweb.freebsd.org/changeset/base/335254 Log: 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