freebsd-skq/sbin/fsck_ffs
mckusick dcdf761e84 This revision began as a simple change to eliminate an uninitialized warning
found by Coverity. However, upon closer inspection the implementation of
fsck_ffs's fsck_readdir() and dircheck() functions is both nearly impossible
to follow and fails to check / fix directories in several cases. So, this
revision is an entire rewrite of these two functions to clarify what they
are doing and also to get something that works properly.

Referred by:  cem
Reviewed by:  kib, David G Lawrence
MFC after:    3 days
CID 1401317:  namlen may be used uninitialized
2019-05-21 22:24:38 +00:00
..
dir.c This revision began as a simple change to eliminate an uninitialized warning 2019-05-21 22:24:38 +00:00
ea.c
fsck_ffs.8 This update eliminates a kernel stack disclosure bug in UFS/FFS 2019-05-03 21:54:14 +00:00
fsck.h This update eliminates a kernel stack disclosure bug in UFS/FFS 2019-05-03 21:54:14 +00:00
fsutil.c Make fsck(8) use pread(2). This cuts the number of syscalls by half. 2018-12-15 11:36:20 +00:00
gjournal.c In preparation for adding inode check-hashes, clean up and 2018-11-13 21:40:56 +00:00
globs.c This update eliminates a kernel stack disclosure bug in UFS/FFS 2019-05-03 21:54:14 +00:00
inode.c Followup to -r344552 in which fsck_ffs checks for a size past the 2019-04-13 13:31:06 +00:00
main.c This update eliminates a kernel stack disclosure bug in UFS/FFS 2019-05-03 21:54:14 +00:00
Makefile
Makefile.depend
pass1.c Followup to -r344552 in which fsck_ffs checks for a size past the 2019-04-13 13:31:06 +00:00
pass1b.c
pass2.c In preparation for adding inode check-hashes, change the fsck_ffs 2018-10-31 05:17:53 +00:00
pass3.c
pass4.c
pass5.c Ensure that cylinder-group check-hashes are properly updated when first 2018-12-05 06:31:50 +00:00
setup.c After a crash, a file that extends into indirect blocks may end up 2019-02-25 21:58:19 +00:00
suj.c
utilities.c