Tighten validation tests on an obscure corner case of
authorkrw <krw@openbsd.org>
Tue, 11 Sep 2018 09:13:19 +0000 (09:13 +0000)
committerkrw <krw@openbsd.org>
Tue, 11 Sep 2018 09:13:19 +0000 (09:13 +0000)
commitaef735d2c029ad33cd2e82a823d2e1cc06feac8f
tree5ece6c898a3935c8cdbff93bf83f9bcb8c4b8f87
parente7f9714dfbc90c74477c2dd60a3bb57af38f9bde
Tighten validation tests on an obscure corner case of
trying to align partitions to size <= 0 or past the
end of the disk. Emit error message in this case as
in other align errors.

Looks good to otto@.
sbin/disklabel/editor.c