From: Jérémie Galarneau Date: Fri, 15 Nov 2019 22:16:32 +0000 (-0500) Subject: Fix: relayd: check for a trace chunk before writing a packet X-Git-Tag: v2.12.0-rc1~240 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=1ad1103bedd3f87c3cbe151e1ef61fbaceaa0f4c;hp=1ad1103bedd3f87c3cbe151e1ef61fbaceaa0f4c;p=lttng-tools.git 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 ---