Hi Jim,
I found a bug.
In libparted/arch/linux.c:333
next = dm_get_next_target(dmt, NULL, &start, &length,
&target_type, ¶ms);
arch_specific->dmtype = strdup(target_type);
Once we have DM name with empty target, 'target_type' will be NULL and
the program will crash at strdup.
FYI: DM device with empty target could be created with command 'dmsetup
create'. Once the command prompt for target input, type ctrl-D
-
Mike Hwang
_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel