Fix: session may be NULL in relay_create_session error path
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 10 Sep 2019 23:30:33 +0000 (19:30 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 10 Sep 2019 23:30:33 +0000 (19:30 -0400)
commit8d382dd4d4e95ea6ff88d6bd9f8a8fc85970ee3b
tree7fe610ef9dbf92939652c43ad57314d7fabd1b82
parent0359fdbc0ea4d96968e2ff493f713156d4646acb
Fix: session may be NULL in relay_create_session error path

A reply is sent in response to a session's creation even if it failed
to be created. In those cases, session is null and its output_path
should not be accessed.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/main.c
This page took 0.032869 seconds and 4 git commands to generate.