Fix: unchecked pointer from getenv() for lttng create
authorDavid Goulet <dgoulet@efficios.com>
Tue, 19 Jun 2012 15:15:38 +0000 (11:15 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 19 Jun 2012 15:15:38 +0000 (11:15 -0400)
commitd386b2341d96bbeeb1f89071614506c0ddbb9bcc
treec6472292bc8a38abd849787716f9530df8f85cbc
parentb35d8a5714e1e4b989237d1d117fba3364c24299
Fix: unchecked pointer from getenv() for lttng create

The lttng create command was not handling the return pointer from
getenv("HOME") and was passing it to a strdup() call.

(close #271)

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/commands/create.c
This page took 0.040793 seconds and 4 git commands to generate.