aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_msdosfs
Commit message (Expand)AuthorAgeFilesLines
* fsck_msdosfs: do not call checksize() if the cluster is badJohn F. Carr2024-01-201-1/+1
* Purge more stray embedded $FreeBSD$ stringsJohn Baldwin2023-09-255-10/+0
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
* Remove $FreeBSD$: one-line .h patternWarner Losh2023-08-162-2/+0
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-125-5/+5
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+1
* fsck_msdosfs: truncate directory entry when the head pointer is invalid.Xin LI2021-11-041-2/+15
* Use %ju and cast to (uintmax_t) to avoid using PRI* macros.Xin LI2020-09-281-2/+2
* Fix build.Xin LI2020-09-231-1/+1
* sbin/fsck_msdosfs: Fix an integer overflow on 32-bit platforms.Xin LI2020-09-231-4/+11
* Do not overflow when calculating file system size.Xin LI2020-04-281-14/+12
* Fix a bug with dirty file system handling.Xin LI2020-04-273-2/+50
* Use humanize_number to format available and bad space sizes.Xin LI2020-02-102-3/+30
* Diff reduction against NetBSD, no functional change.Xin LI2020-02-021-6/+7
* Tighten FAT checks and fix off-by-one error in corner case.Xin LI2020-01-121-33/+44
* Correct off-by-two issue when determining FAT type.Xin LI2020-01-111-3/+14
* Apply typo fix from NetBSD, we have already applied all NetBSD changes soXin LI2020-01-111-2/+2
* Require FAT to occupy at least one sector.Xin LI2020-01-111-1/+1
* fsck_msdosfs.8: document -M.Xin LI2020-01-071-2/+17
* Reduce memory footprint of fsck_msdosfs.Xin LI2020-01-037-638/+1217
* Revert r356249 for now as it broke GCC builds.Xin LI2020-01-017-1217/+638
* Reduce memory footprint of fsck_msdosfs.Xin LI2020-01-017-638/+1217
* Avoid mixing cluster numbers and sector numbers. Makes code more readable.Xin LI2019-09-153-11/+19
* Correct overflow logic in fullpath().Xin LI2019-09-041-9/+13
* Remove unneeded blank line. No functional change.Xin LI2019-08-301-1/+0
* Comment boot block checks and perform additional sanity checks:Xin LI2019-08-261-62/+109
* Use calloc().Xin LI2019-08-191-12/+12
* Remove redundant check and wrong fix: fat.c checks already take careXin LI2019-08-191-19/+3
* In ask(): override default option if any of alwaysyes/alwaysno/rdonly isXin LI2019-06-151-5/+6
* Blankspace. No actual code change.Xin LI2019-06-151-2/+2
* Avoid out of boundary access when checking invalid long filenames.Xin LI2019-06-111-0/+9
* preen should work independently with alwaysyes and alwaysno.Xin LI2019-06-071-3/+2
* Don't increment cl after increment.Xin LI2019-06-041-2/+2
* Don't cast result from malloc().Xin LI2019-04-151-2/+2
* Write string constant differently to improve readability.Xin LI2019-04-061-4/+2
* Fix build.Xin LI2019-04-051-1/+1
* Implement checking of `.' and `..' entries of subdirectory.Xin LI2019-04-051-3/+101
* Restore lfcl when LOSTDIR's chain was corrupted and overwrittenXin LI2019-04-041-0/+1
* Restore the ability of checking and fixing next freeXin LI2019-04-041-0/+14
* Assert that q can't be NULL. 'empty' is always non-NULL when DIREMPTYXin LI2019-04-031-1/+3
* Distinguish between lseek errors and read errores.Xin LI2019-03-281-4/+11
* Detect and handle invalid number of FATsXin LI2018-07-131-0/+4
* Revert Makefile@335696 that sneaked into the commit.Xin LI2018-06-271-2/+0
* Detect exFAT filesystems and abort if found and tighten BPB sanityXin LI2018-06-272-5/+23
* Fix division by zero when reading boot block by postponing divisionXin LI2018-06-261-6/+6
* Don't bail out when we find primary and secondary bootblocks miscompare.Xin LI2018-06-221-2/+2
* Don't bail out from the check if readboot() returns !FSFATAL.Xin LI2018-04-301-1/+1
* Prevent OOB access on corrupted msdos directories.Xin LI2017-11-301-1/+1
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-277-7/+21