HomeFreeBSD

geom label msdosfs: sanity check BPB before using it for io request

Description

geom label msdosfs: sanity check BPB before using it for io request

It must be greater than zero, and be multiple of the device block size.

In collaboration with: pho
Reviewed by: markj, mckusick
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D33721

Details

Provenance
kibAuthored on Dec 30 2021, 1:17 PM
Reviewer
markj
Differential Revision
D33721: Improve msdosfs robustness
Parents
rG1849bc5f3ff0: mps/mpr: Relax doorbell polling precision.
Branches
Unknown
Tags
Unknown