Fix: Uninitialized scalar variable in consumer
[lttng-tools.git] / src / common / consumer.c
index 01266a700cb37199966c9257eba335689e877453..2dd463c1431f72e9fd1bf35d8551fddad5b28f4a 100644 (file)
@@ -99,6 +99,8 @@ static void notify_channel_pipe(struct lttng_consumer_local_data *ctx,
        struct consumer_channel_msg msg;
        int ret;
 
+       memset(&msg, 0, sizeof(msg));
+
        msg.action = action;
        msg.chan = chan;
        do {
This page took 0.026022 seconds and 5 git commands to generate.