From a9824de5754ce0407e6a8373b4210ae214fad685 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 16 Sep 2018 03:25:25 +0300 Subject: [PATCH] Miscellaneous (avoid valgrind's "Syscall param socketcall.sendto(msg) points to uninitialised byte(s)") [#CLICKHOUSE-3989] --- dbms/src/Common/TaskStatsInfoGetter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Common/TaskStatsInfoGetter.cpp b/dbms/src/Common/TaskStatsInfoGetter.cpp index 395aa2c8473..b57edbad160 100644 --- a/dbms/src/Common/TaskStatsInfoGetter.cpp +++ b/dbms/src/Common/TaskStatsInfoGetter.cpp @@ -142,7 +142,7 @@ NetlinkMessage query( const void * attribute_data, int attribute_size) { - NetlinkMessage request; + NetlinkMessage request{}; request.header.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); /// Length of both headers. request.header.nlmsg_type = type;