HomeFreeBSD

loader: misaligned access of dos_partition structure

Description

loader: misaligned access of dos_partition structure

armv7 crash due to misligned access of dos_partition dp_start field.

Allocate and make copy of dos_partition array to make sure the data
is aligned.

Reported by: marklmi at yahoo.com

Details

Provenance
tsoomeAuthored on Mar 19 2020, 5:27 PM
Parents
rGe4ee6c5444b0: Fix SES on device slots without phys after r349321.
Branches
Unknown
Tags
Unknown