HomeFreeBSD

Fix a bug in fsck_ffs(8) triggered by corrupted filesystems.

Description

Fix a bug in fsck_ffs(8) triggered by corrupted filesystems.

Check for valid block numbers while loading journal entries that
contain block numbers. If an invalid block number is found, fall
back to full fsck.

Reported-by: Robert Morris
PR: 271383
MFC-after: 1 week
Sponsored-by: The FreeBSD Foundation

Details

Provenance
mckusickAuthored on May 28 2023, 10:23 PM
Parents
rG9ed4ec4ae34a: stand: libefi: avoid a null pointer deref in eficom
Branches
Unknown
Tags
Unknown