summaryrefslogtreecommitdiff
path: root/sbin/fsck_msdos
AgeCommit message (Expand)Author
2017-06-27Avoid the possibility of accessing an array out of bounds.Jonathan Gray
2016-10-10Rename BIOS parameter block field from bsPBP to bsBPB. This typoAlexander Bluhm
2016-05-28Another misplaced pledge disklabel that needs to be removed because ofTheo Buehler
2015-12-10Remove NULL-checks before free(). ok tb@mmcc
2015-11-23Use pledge "disklabel" as needed. The theory here is these tools become moreTheo de Raadt
2015-10-14Since the fsck_* programs now only handle one filesystem, this createsTheo de Raadt
2015-10-14Only accept one filesystem/device as argument for checking. Few peopleTheo de Raadt
2015-09-27Mark ask() as printf-like; split up a pwarn() with variable number of specifiersPhilip Guenther
2015-08-20<stdlib.h> is included, so do not need to cast result fromTheo de Raadt
2015-07-27document "F" in interactive mode, like for fsck.8;Jason McIntyre
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-18Nuke some obvious #include duplications.Kenneth R Westerback
2014-07-11Remove redundant check and wrong fix: fat.c checks already take careTobias Stoeckmann
2014-07-10Uninitialized values (-1) in FSInfo are perfectly valid.Tobias Stoeckmann
2014-07-10Avoid out of boundary access when checking invalid long filenames.Tobias Stoeckmann
2014-07-10Validate file system information which are critical for fsck_msdos operation.Tobias Stoeckmann
2014-07-10Validate number of FATs.Tobias Stoeckmann
2014-07-09Merge memory leak fix from NetBSD's dir.c revision 1.20, but actuallyTobias Stoeckmann
2014-06-18Always keep length of cluster chain up to date, otherwise the drop ofTobias Stoeckmann
2014-06-16Merge NetBSD commit:Tobias Stoeckmann
2014-06-14Avoid infinite loop if cluster chain is a cyclic list.Tobias Stoeckmann
2014-06-14Fix memory leaks in bootblock handling.Tobias Stoeckmann
2014-06-14Fix regression of 1.16: write fsinfo, not block into FSInfo region.Tobias Stoeckmann
2014-06-14Fix regression of 1.20 by properly incrementing pointer.Tobias Stoeckmann
2014-06-10Fix off by one when writing FAT for FAT12 filesystems.Tobias Stoeckmann
2014-06-09Fix possible out of boundary access if filesystem is full or corrupt.Tobias Stoeckmann
2013-08-12Add missing \n after a warning.Raphael Graf
2012-03-31Make fsck_msdos work with non-512-byte sector devices. Problem notedKenneth R Westerback
2010-12-18add some off_t and ssize_t love; ok stsp millertTheo de Raadt
2010-12-17Add missing util.h include for opendev()Todd C. Miller
2010-11-17Switch fsck_msdos(8) to opendev(3) so that it can handle disklabel UIDs.Joel Sing
2010-08-12Print the real device name followed by the disklabel UID in parenthesisJoel Sing
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-02-07Check reads and lseek correctly for unsigned return; ok krw@Ian Darwin
2007-12-30sort flags in both synopsis and usageIgor Sobrado
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2006-11-11Fix memory leak, from Charles Longeau, many okaysPedro Martelletto
2006-07-19Only compare important parts of the boot block with the backup copy,Tom Cosgrove
2006-05-27newline fix + s/perror/xperror since we areThordur I. Bjornsson
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller
2006-03-30when asking y or n, accept "F" which forces yes from the on. i haveTheo de Raadt
2006-03-20NetBSD Coverity CID 2302: Free fat if fatal error to avoid leak.David Hill
2005-02-03sync usage outputJared Yanovich
2005-02-03- simplify, normalize, and sync usage/synopsis formsJared Yanovich
2004-07-17some ansi; khalek@linuxgamers.netTheo de Raadt
2003-07-29spacesTheo de Raadt
2003-03-30snprintfTheo de Raadt
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-03-11spellingDavid Krause