Miscellaneous (avoid valgrind's "Syscall param socketcall.sendto(msg) points to uninitialised byte(s)") [#CLICKHOUSE-3989]

This commit is contained in:
Alexey Milovidov 2018-09-16 03:25:25 +03:00
parent 7d6ec29c5c
commit a9824de575

View File

@ -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;