[parted-devel] parted crashed on reading DM device without target
Mike.Hwang at iqstor.com.cn
Fri Feb 13 07:06:16 UTC 2009
I found a bug.
next = dm_get_next_target(dmt, NULL, &start, &length,
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the parted-devel