summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rtsold
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2002-12-02 19:30:37 +0000
committermckusick <mckusick@FreeBSD.org>2002-12-02 19:30:37 +0000
commit87d881b0faa9c2ac68c80ee73ab7905a5be6cc9f (patch)
treec5cbcbee2148577e606567de3414c0405ed46eab /usr.sbin/rtsold
parentbcf5c2745def03a4aaf50c4922ff92b0876f603b (diff)
downloadFreeBSD-src-87d881b0faa9c2ac68c80ee73ab7905a5be6cc9f.zip
FreeBSD-src-87d881b0faa9c2ac68c80ee73ab7905a5be6cc9f.tar.gz
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.
Diffstat (limited to 'usr.sbin/rtsold')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud