Fix: lttng: uninitialized pointer free'd when no sessiond is present
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 14 Feb 2020 22:09:58 +0000 (17:09 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 14 Feb 2020 22:11:25 +0000 (17:11 -0500)
commitadc8eccbcef62412e04101eb341598a358acab4f
treea5f629504918b37623cc5afa2c92af054cbcf072
parent7626275467b153fe85b94e6d6a6f0ad92e253b93
Fix: lttng: uninitialized pointer free'd when no sessiond is present

The error path of get_schedules assumes that schedules_comm is !NULL,
which is not the case currently.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I16e2d9d45cd3df9cfa80214abe03bcc782fa1f11
src/lib/lttng-ctl/rotate.c
This page took 0.025342 seconds and 4 git commands to generate.