HomeFreeBSD

GELIBoot may attempt to read past the end of the disk

Description

GELIBoot may attempt to read past the end of the disk

Usually there is some slack after the last partition due to 4k alignment
In the 10.3 EC2 images, there was not. EC2 seems to hang if you try to
read past the end of the disk in the loader, resulting in an unbootable
instance after upgrading to 11.0

PR: 213196
Reported by: Peter Ankerstal <peter@pean.org>
Tested by: cperciva
Reviewed by: tsoome
MFC after: 3 days
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D8144

Details

Provenance
allanjudeAuthored on
Reviewer
tsoome
Differential Revision
D8144: Fix for GELIBoot reading past end of disk
Parents
rS306676: Add AR531x port options.
Branches
Unknown
Tags
Unknown