Fix: handle invalid URL passed to lttng_create_session_live
authorDavid Goulet <dgoulet@efficios.com>
Tue, 4 Feb 2014 19:52:49 +0000 (14:52 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 4 Feb 2014 19:52:49 +0000 (14:52 -0500)
commit903055eacdbfa126826011ecd0845127585244da
tree3d54eb67e5e36d506132edc5a014a1a2594f5315
parent00e4a0a9031c40702f133f12099708235f80cde6
Fix: handle invalid URL passed to lttng_create_session_live

uri_parse_str_urls() returns 0 if the URL passed is NULL thus using
lttng_create_session_live() without an URL is invalid.

Reported-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/lib/lttng-ctl/lttng-ctl.c
This page took 0.024881 seconds and 4 git commands to generate.