summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-12-17 02:51:56 +0000
committermarcel <marcel@FreeBSD.org>2002-12-17 02:51:56 +0000
commit527408760d81666a3f0b220f592890afe1a1c8e1 (patch)
treeadbf7fc3c9b53c5a417b889cbfa1c4461f4f412b /usr.bin
parent595fed56c73a275eb570569111adbb62a317d8de (diff)
downloadFreeBSD-src-527408760d81666a3f0b220f592890afe1a1c8e1.zip
FreeBSD-src-527408760d81666a3f0b220f592890afe1a1c8e1.tar.gz
Check that the dump device is large enough. Otherwise we could
end up with a dump offset that's smaller than the start of the dump device and either clobber data in preceding partitions or try to write beyond the end of the medium (unsigned wrap). Implement legacy behaviour to never write to the first 64KB as that is where metadata (ie disklabels) may reside.
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud