From: Jérémie Galarneau Date: Thu, 16 Jul 2020 16:39:20 +0000 (-0400) Subject: Fix: relayd: send_viewer_streams sends stack data in padding X-Git-Tag: v2.13.0-rc1~595 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=aaabc543e42ced7c4baa490f052fd4a17ca25f89;hp=aaabc543e42ced7c4baa490f052fd4a17ca25f89;p=lttng-tools.git Fix: relayd: send_viewer_streams sends stack data in padding A single stack-allocated instance of `struct lttng_viewer_stream` is used to send the various streams to the live viewer. This structure contains a path and channel name which remain uninitialized beyond the null terminator. The structure is zeroed on every iteration. Signed-off-by: Jérémie Galarneau Change-Id: I1c60ee18e01e8f56157f0fe44bd3bd64b1194703 ---