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>
Mon, 18 Nov 2019 18:45:37 +0000 (13:45 -0500)
commitde011059af0823b128dd8dbd39e1a96f68147157
tree9e36d8cd2d2e1ac9114742bc37d0076bf706ee48
parent8af1d2a1eb1cbe9d35e9501e5ebdf90805dbfd51
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.024874 seconds and 4 git commands to generate.