Fix: relayd: check for a trace chunk before writing a packet
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 15 Nov 2019 22:16:32 +0000 (17:16 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 15 Nov 2019 22:16:32 +0000 (17:16 -0500)
commit1ad1103bedd3f87c3cbe151e1ef61fbaceaa0f4c
tree3c0387bd5569a602ef8bc5aaf3d09f291f2b5f24
parentb3feb91b1a4acba45c9d446688cdc828d57d0b66
Fix: relayd: check for a trace chunk before writing a packet

Protocol errors can cause a packet to be written to a stream that
doesn't have an active trace chunk. Validate this condition for the
init and write packet operations on a stream.

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