]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r268632:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 21 Jul 2014 23:23:20 +0000 (23:23 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 21 Jul 2014 23:23:20 +0000 (23:23 +0000)
commit310d07493a6500e1065a06ba53617dc434bf3870
tree7c37aa7d34405d4a83c7ccbac12ca996430cb4eb
parenta3533380b0c1dfe17287ad1f64112200a1615101
MFC r268632:
fsck_msdosfs: Assorted fixes from other BSDs.

When truncating cluster chains fix the length of the cluster head.
http://marc.info/?t=140304310700005&r=1&w=2

Avoid infinite loops in cluster chain linked lists.
http://marc.info/?l=openbsd-tech&m=140275150804337&w=2

Avoid off-by-one on FAT12 filesystems.
http://marc.info/?l=openbsd-tech&m=140234174104724&w=2

Obtained from: NetBSD (from OpenBSD)

git-svn-id: svn://svn.freebsd.org/base/stable/10@268968 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/fsck_msdosfs/dir.c
sbin/fsck_msdosfs/fat.c