Date: Mon, 16 Dec 2002 18:51:56 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 dump_machdep.c Message-ID: <200212170251.gBH2puZ7008972@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2002/12/16 18:51:56 PST
Modified files:
sys/ia64/ia64 dump_machdep.c
Log:
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.
Revision Changes Path
1.9 +10 -0 src/sys/ia64/ia64/dump_machdep.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212170251.gBH2puZ7008972>
