Date: Wed, 08 Jan 2020 08:51:31 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 243179] fsck_msdosfs: Off-by-two in determination of FAT type Message-ID: <bug-243179-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243179 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: bugs@FreeBSD.org Reporter: delphij@FreeBSD.org The FAT type determination in fsck_msdosfs is wrong. In the code we used NumClusters as the upper (non-inclusive) boundary of va= lid 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243179-227>