]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Updates to UFS/FFS superblock integrity checks when reading a superblock.
authorKirk McKusick <mckusick@FreeBSD.org>
Sat, 27 May 2023 19:23:39 +0000 (12:23 -0700)
committerKirk McKusick <mckusick@FreeBSD.org>
Sat, 27 May 2023 19:24:11 +0000 (12:24 -0700)
commitc79a1416955a260424a5dd2013b114ff864bc926
tree99748d186fb1e4620a87d8d1a4868572a846751f
parent537cd766435c80e61e72bb9369f77aa9630a1537
Updates to UFS/FFS superblock integrity checks when reading a superblock.

Verify that the summary information does not extend past the end
of the filesystem.

No legitimate superblocks should fail as a result of these changes.

Reported-by: Robert Morris
PR:           271351
MFC-after:    1 week
Sponsored-by: The FreeBSD Foundation
sys/ufs/ffs/ffs_subr.c