]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Updates to UFS/FFS superblock integrity checks when reading a superblock.
authorKirk McKusick <mckusick@FreeBSD.org>
Mon, 27 Mar 2023 23:45:59 +0000 (16:45 -0700)
committerKirk McKusick <mckusick@FreeBSD.org>
Mon, 27 Mar 2023 23:46:40 +0000 (16:46 -0700)
commit4660b60a00c3120ddecd94b3f308d39bcb6d085a
treead82a2e5bf1b8122903f5047b5b27dfb973ffb65
parent86e2335d10e560c6b1809df58ce03864c5d09431
Updates to UFS/FFS superblock integrity checks when reading a superblock.

Have to add a check that the computed cylinder group size does not
exceed the block size of the filesystem.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D38668

(cherry picked from commit 0eabe33087d8cb69ae800daae322f12a8f16bd10)
sys/ufs/ffs/ffs_subr.c