X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fkernel-ctl%2Fkernel-ctl.c;h=e71d25f4a88e60d1395999c9a50ad6c3fbe1e508;hb=388d4b5b9c345fdd01793ccb65a8c43a5862bc15;hp=d153a1cff7dafbbc3460f7aac1baae55042263fd;hpb=e72a1cd2aefe4119f6e8cc1e403f95d9d5d25dba;p=lttng-tools.git diff --git a/src/common/kernel-ctl/kernel-ctl.c b/src/common/kernel-ctl/kernel-ctl.c index d153a1cff..e71d25f4a 100644 --- a/src/common/kernel-ctl/kernel-ctl.c +++ b/src/common/kernel-ctl/kernel-ctl.c @@ -108,6 +108,7 @@ int kernctl_create_channel(int fd, struct lttng_channel_attr *chops) { struct lttng_kernel_channel channel; + memset(&channel, 0, sizeof(channel)); if (lttng_kernel_use_old_abi) { struct lttng_kernel_old_channel old_channel;