Fix: use of uninitialized channel attributes in client
[lttng-tools.git] / src / bin / lttng / commands / enable_channels.c
index 950cdb67e671e61cc164e1d050ba5454ec3bd0e7..22331cec2b2ead8d032ede422df7f581df4f7c38 100644 (file)
@@ -108,6 +108,8 @@ static void set_default_attr(struct lttng_domain *dom)
 {
        struct lttng_channel_attr default_attr;
 
+       memset(&default_attr, 0, sizeof(default_attr));
+
        /* Set attributes */
        lttng_channel_set_default_attr(dom, &default_attr);
 
This page took 0.030793 seconds and 4 git commands to generate.