diff options
author | gjb <gjb@FreeBSD.org> | 2015-01-23 21:04:59 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2015-01-23 21:04:59 +0000 |
commit | 4743c20fb6384559028572e519b637c0667e87ec (patch) | |
tree | 876b7ee2e219c34c8f734ee59a0cda24d8bd0dae /contrib/netbsd-tests/lib/libc/stdlib/t_random.c | |
parent | 7de9767772450e381a498ed15f8e22c42047bbc7 (diff) | |
download | FreeBSD-src-4743c20fb6384559028572e519b637c0667e87ec.zip FreeBSD-src-4743c20fb6384559028572e519b637c0667e87ec.tar.gz |
When iterating through VMFORMATS, the VMBASE file is
not removed or truncated to a zero-size file, which
if used to create more than one disk image format, can
result in accidental pollution of the target formatted
disk image.
Instead of using a single VMBASE image (vm.img, by
default), use a single base file for each format, named
as VMFORMAT.img, which produces VMBASE.VMFORMAT as the
final formatted image.
Reported by: cperciva
MFC after: 1 month
X-MFC-with: r277458, r277536
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib/t_random.c')
0 files changed, 0 insertions, 0 deletions