Date: Mon, 2 Dec 2002 11:30:37 -0800 (PST) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/fsck_ffs setup.c Message-ID: <200212021930.gB2JUb4m067127@repoman.freebsd.org>
index | next in thread | raw e-mail
mckusick 2002/12/02 11:30:37 PST
Modified files:
sbin/fsck_ffs setup.c
Log:
Verify that alternate superblocks have a correct magic number before
trying to use them. Set a minimum value for numdirs when using an
alternate superblock to avoid spurious numdirs == 0 error. Calculate
new fields when using an alternate superblock from a UFS1 filesystem
to avoid segment faulting.
Sponsored by: DARPA & NAI Labs.
Revision Changes Path
1.42 +10 -9 src/sbin/fsck_ffs/setup.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212021930.gB2JUb4m067127>
