summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdos (follow)
Commit message (Expand)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-4/+4
* Use unveil(2). These programs fit together in various strange ways,deraadt2018-09-242-2/+7
* Avoid the possibility of accessing an array out of bounds.jsg2017-06-271-1/+3
* Rename BIOS parameter block field from bsPBP to bsBPB. This typobluhm2016-10-101-2/+2
* Another misplaced pledge disklabel that needs to be removed because oftb2016-05-281-4/+1
* Remove NULL-checks before free(). ok tb@mmcc2015-12-102-8/+5
* Use pledge "disklabel" as needed. The theory here is these tools become morederaadt2015-11-231-1/+5
* Since the fsck_* programs now only handle one filesystem, this createsderaadt2015-10-141-1/+5
* Only accept one filesystem/device as argument for checking. Few peoplederaadt2015-10-142-18/+12
* Mark ask() as printf-like; split up a pwarn() with variable number of specifiersguenther2015-09-273-12/+12
* <stdlib.h> is included, so do not need to cast result fromderaadt2015-08-201-3/+3
* document "F" in interactive mode, like for fsck.8;jmc2015-07-271-2/+13
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-163-8/+8
* Nuke some obvious #include duplications.krw2014-11-181-2/+1
* Remove redundant check and wrong fix: fat.c checks already take caretobias2014-07-111-20/+4
* Uninitialized values (-1) in FSInfo are perfectly valid.tobias2014-07-101-4/+6
* Avoid out of boundary access when checking invalid long filenames.tobias2014-07-101-1/+9
* Validate file system information which are critical for fsck_msdos operation.tobias2014-07-101-2/+13
* Validate number of FATs.tobias2014-07-101-1/+5
* Merge memory leak fix from NetBSD's dir.c revision 1.20, but actuallytobias2014-07-092-9/+10
* Always keep length of cluster chain up to date, otherwise the drop oftobias2014-06-182-5/+18
* Merge NetBSD commit:tobias2014-06-168-65/+9
* Avoid infinite loop if cluster chain is a cyclic list.tobias2014-06-141-4/+12
* Fix memory leaks in bootblock handling.tobias2014-06-141-29/+42
* Fix regression of 1.16: write fsinfo, not block into FSInfo region.tobias2014-06-141-2/+2
* Fix regression of 1.20 by properly incrementing pointer.tobias2014-06-141-3/+3
* Fix off by one when writing FAT for FAT12 filesystems.tobias2014-06-101-7/+9
* Fix possible out of boundary access if filesystem is full or corrupt.tobias2014-06-091-2/+3
* Add missing \n after a warning.rapha2013-08-121-2/+2
* Make fsck_msdos work with non-512-byte sector devices. Problem notedkrw2012-03-314-58/+128
* add some off_t and ssize_t love; ok stsp millertderaadt2010-12-181-16/+25
* Add missing util.h include for opendev()millert2010-12-171-1/+2
* Switch fsck_msdos(8) to opendev(3) so that it can handle disklabel UIDs.jsing2010-11-172-14/+19
* Print the real device name followed by the disklabel UID in parenthesisjsing2010-08-121-2/+2
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-275-29/+5
* Check reads and lseek correctly for unsigned return; ok krw@ian2008-02-072-23/+27
* sort flags in both synopsis and usagesobrado2007-12-301-3/+3
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-4/+5
* convert to new .Dd format;jmc2007-05-311-2/+2
* Fix memory leak, from Charles Longeau, many okayspedro2006-11-111-3/+5
* Only compare important parts of the boot block with the backup copy,tom2006-07-191-4/+19
* newline fix + s/perror/xperror since we arethib2006-05-274-30/+30
* malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksdjm2006-04-021-5/+3
* when asking y or n, accept "F" which forces yes from the on. i havederaadt2006-03-301-3/+7
* NetBSD Coverity CID 2302: Free fat if fatal error to avoid leak.dhill2006-03-201-3/+7
* sync usage outputjaredy2005-02-031-3/+3
* - simplify, normalize, and sync usage/synopsis formsjaredy2005-02-031-31/+31
* some ansi; khalek@linuxgamers.netderaadt2004-07-175-118/+45
* spacesderaadt2003-07-294-13/+13
* snprintfderaadt2003-03-301-3/+3