HomeFreeBSD

If dsgetlabel() returns a label with a size of zero in diskdumpconf(),
rS104507Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

If dsgetlabel() returns a label with a size of zero in diskdumpconf(),
treat it as an invalid partition.

This fixes a bug where ``dumpon <device>'' will configure the dump
device at a random offset on the disk if <device> isn't a valid
partition.

Reviewed by: phk

Details

Provenance
brianAuthored on
Parents
rS104506: Fix namespace issues by using visibility conditionals from
Branches
Unknown
Tags
Unknown

Event Timeline