multipath-tools: Intialize pointer passed to get_cmdvec
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Thu, 22 Jul 2010 16:36:48 +0000 (18:36 +0200)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Mon, 26 Jul 2010 08:29:20 +0000 (10:29 +0200)
commit3eacec6d7be728605f92d748451494b048b49bb2
tree8d486adc12d72a268174a9170e036952c1229e07
parent828d2fbaab304d1ec7db2f563a59eaf2c7a516ea
multipath-tools: Intialize pointer passed to get_cmdvec

get_cmdvec can return before the vector argument has been initialized. Fix this
by initializing the pointer before passing it to get_cmdvec. This fixes a
segfault in the interactive mode when hitting the tab key directly on the
command prompt.

Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
multipathd/cli.c