X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Flttng-ctl-health.c;h=ba9aac05a42bfb5493efb1dbf67d597c799d55b6;hb=f86c9f4e9488dfd3eebb33fbec1b6afb1cd02630;hp=c78e0dcd9352d1884b9406cd035aa8f35b51180a;hpb=71d012371a19abb9e730d30c5c1be47ede4847fb;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/lttng-ctl-health.c b/src/lib/lttng-ctl/lttng-ctl-health.c index c78e0dcd9..ba9aac05a 100644 --- a/src/lib/lttng-ctl/lttng-ctl-health.c +++ b/src/lib/lttng-ctl/lttng-ctl-health.c @@ -272,6 +272,7 @@ retry: goto error; } + memset(&msg, 0, sizeof(msg)); msg.cmd = HEALTH_CMD_CHECK; ret = lttcomm_send_unix_sock(sock, (void *)&msg, sizeof(msg));