X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fkernel-ctl%2Fkernel-ctl.c;h=18cd95529cfef620d1e6305de0d88e2572fe147f;hb=c74101efbbb06ea591b5c989afa3714689e843bb;hp=28ed06cbdaa50b5494c698b296e1bc576cdcfd6c;hpb=0ed9e0beb03a4ff1b0042526eb851c0125dbe795;p=lttng-tools.git diff --git a/src/common/kernel-ctl/kernel-ctl.c b/src/common/kernel-ctl/kernel-ctl.c index 28ed06cbd..18cd95529 100644 --- a/src/common/kernel-ctl/kernel-ctl.c +++ b/src/common/kernel-ctl/kernel-ctl.c @@ -112,6 +112,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;