Fix: miscellaneous memory handling fixes
[lttng-tools.git] / src / lib / lttng-ctl / lttng-ctl-health.c
index c78e0dcd9352d1884b9406cd035aa8f35b51180a..ba9aac05a42bfb5493efb1dbf67d597c799d55b6 100644 (file)
@@ -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));
This page took 0.022795 seconds and 4 git commands to generate.