aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdosfs
Commit message (Expand)AuthorAgeFilesLines
* 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
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
* sbin: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-041-1/+1
* Mention the version of NetBSD the utility originated from.Sevan Janiyan2016-10-021-2/+5
* fsck_msdosfs: Adjust a check.Pedro F. Giffuni2016-05-041-1/+1
* Use macro MAX() from sys/param.h.Marcelo Araujo2016-04-221-1/+1
* fsck_msdosfs: use NULL instead of zero for pointers.Pedro F. Giffuni2016-04-191-1/+1
* MFHGlen Barber2016-04-111-4/+6
|\
| * fsck_msdosfs(8): Optimimize memsetsPedro F. Giffuni2016-04-061-4/+6