summaryrefslogtreecommitdiffstats
path: root/zebra/kernel_netlink.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-10-24 00:05:04 +0200
committerGitHub <noreply@github.com>2020-10-24 00:05:04 +0200
commit33fa4b14db658045aae0a27673d2bfdf028f7dce (patch)
tree169933df2876719ad7a19a0a9521d893223dff69 /zebra/kernel_netlink.c
parentMerge pull request #7361 from wesleycoakley/alpine-build-fix (diff)
parentzebra: fix unitialized msg header reading at startup (diff)
downloadfrr-33fa4b14db658045aae0a27673d2bfdf028f7dce.tar.xz
frr-33fa4b14db658045aae0a27673d2bfdf028f7dce.zip
Merge pull request #7382 from sworleys/Fix-Msg-Buff
zebra: fix unitialized msg header reading at startup
Diffstat (limited to 'zebra/kernel_netlink.c')
-rw-r--r--zebra/kernel_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/kernel_netlink.c b/zebra/kernel_netlink.c
index 601e3dfa8..129703d9a 100644
--- a/zebra/kernel_netlink.c
+++ b/zebra/kernel_netlink.c
@@ -1051,7 +1051,7 @@ static int nl_batch_read_resp(struct nl_batch *bth)
{
struct nlmsghdr *h;
struct sockaddr_nl snl;
- struct msghdr msg;
+ struct msghdr msg = {};
int status, seq;
const struct nlsock *nl;
struct zebra_dplane_ctx *ctx;