aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_msdosfs/dir.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Reduce memory footprint of fsck_msdosfs.Xin LI2020-01-031-161/+201
* Revert r356249 for now as it broke GCC builds.Xin LI2020-01-011-201/+161
* Reduce memory footprint of fsck_msdosfs.Xin LI2020-01-011-161/+201
* Avoid mixing cluster numbers and sector numbers. Makes code more readable.Xin LI2019-09-151-5/+7
* Correct overflow logic in fullpath().Xin LI2019-09-041-9/+13
* Remove redundant check and wrong fix: fat.c checks already take careXin LI2019-08-191-19/+3
* Avoid out of boundary access when checking invalid long filenames.Xin LI2019-06-111-0/+9
* 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
* 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
* 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-271-1/+3
* 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
* fsck_msdosfs(8): Optimimize memsetsPedro F. Giffuni2016-04-061-4/+6
* msdosfs: Assorted fixes from other BSDs.Pedro F. Giffuni2014-07-141-3/+4
* Minor (mostly cosmetic) cleanupsPedro F. Giffuni2014-07-141-1/+1
* sbin/fsck: s/perror/perr/ to avoid shadowingUlrich Spörlein2012-10-211-16/+17
* Add missing static keywords for global variables to tools in sbin/.Ed Schouten2011-11-041-1/+1
* Fix some style(9), although there's a lot more issues here.Brian Somers2010-06-201-5/+10
* Rename fields to match better the msdosfs headers. This work is stillKonstantin Belousov2010-02-141-18/+18
* Bug fixes from NetBSDKonstantin Belousov2010-02-141-10/+40
* License changes from NetBSD.Konstantin Belousov2010-02-141-7/+0
* o __P removedWarner Losh2002-03-201-68/+33
* Add fsck_msdosfs.David E. O'Brien2001-07-091-0/+1017