summaryrefslogtreecommitdiff
path: root/sbin/fsck_msdos
AgeCommit message (Expand)Author
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
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained o...Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-02-14Don't divide by zero.Aaron Campbell
2001-09-19occured->occurredMike Pechkin
2001-09-05make sure that va_start() has matching va_end()Theo de Raadt
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-07-03Put missing \n's in som error messages; consolidate redundant "if" (OK theo@).Ian Darwin
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
2000-06-28prevent endless looping on looping fat chainsMichael Shalayeff
2000-03-18Remove hard sentence breaks, and some other cleanup along the way.Aaron Campbell
2000-01-22remove extra externs not needed because of unistd.h (rest of tree will be don...Theo de Raadt