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:20:21 +0000 (11:20 -0400)
commitcea36c716c9e418162bd14460196295d692fe3ca
tree54bf6168a5355e2da93d503e1382eafb34314fc2
parentee9dc308bb97db5f20ada873141da5ec52d80571
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.024316 seconds and 4 git commands to generate.