Subject: bin/11075: disklabel dumps core on invalid input
To: None <gnats-bugs@gnats.netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 09/24/2000 14:11:22
>Number: 11075
>Category: bin
>Synopsis: disklabel dumps core on invalid input
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 24 14:17:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Simon Burge
>Release: NetBSD 1.5_ALPHA2 - sources around 22th September 2000
>Organization:
Wasabi Systems
>Environment:
System: NetBSD thoreau.thistledown.com.au 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (THOREAU)
#13: Sun Sep 24 23:58:28 EST 2000
simonb@thoreau.thistledown.com.au:/usr/obj/sys/arch/alpha/compile/THOREAU alpha
>Description:
Having a line with just a size and offset but no fstype causes
"disklabel -e <device>" to dump core. In my case, the offending
line was:
e: 17948448 72121392
>How-To-Repeat:
Use "disklabel -e <device>", delete everything after the partition
offset for a partition, exit editor.
>Fix:
None given. This is a reminder unless someone beats me to it.
>Release-Note:
>Audit-Trail:
>Unformatted: