]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Correctness cleanups in fsck_ffs(8).
authorKirk McKusick <mckusick@FreeBSD.org>
Sat, 13 Aug 2022 20:27:37 +0000 (13:27 -0700)
committerKirk McKusick <mckusick@FreeBSD.org>
Sat, 13 Aug 2022 20:28:31 +0000 (13:28 -0700)
commit6e821c35d68d4041640b27419837464ffab65cff
tree0219fd26bc46ecda0adeb25b3cdc673a4412365a
parent3179bb2737493bc4191c3239226bda50f0b64b8f
Correctness cleanups in fsck_ffs(8).

Allocation or I/O failures in fsck_ffs(8) could cause segment
faults because of missing checks or not-yet-initialized data
structures. Correct these issues.

Reported by:  Peter Holm
Sponsored by: The FreeBSD Foundation
sbin/fsck_ffs/inode.c
sbin/fsck_ffs/setup.c