https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243179
Bug ID: 243179
Summary: fsck_msdosfs: Off-by-two in determination of FAT type
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
The FAT type determination in fsck_msdosfs is wrong.
In the code we used NumClusters as the upper (non-inclusive) boundary of valid
cluster number, so the actual value was 2 (CLUST_FIRST) more than the real
number of clusters.
Therefore, it's not right to use NumClusters as it is today to determine FAT
type.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"