[dm-devel] Avoiding lvm shell crashes on white space only line

Xinwei Hu hxinwei at gmail.com
Thu Jul 1 06:32:48 UTC 2010


Hi all,

  lvm shell crashes on white-space only lines.

===>
# lvm
lvm>      <== white spaces
Segmentation fault (core dumped)
<===

  lvm always assuming that argv[0] is accessible. Here's attached a
tentative fix for this issue.
Please consider it for upstream conclusion. ;)

  Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm_shell-crashes_on_white_space_only_line.diff
Type: text/x-patch
Size: 356 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20100701/7fb0b798/attachment.bin>


More information about the dm-devel mailing list