diff options
author | Mark Stapp <mjs@voltanet.io> | 2020-10-24 00:05:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-24 00:05:04 +0200 |
commit | 33fa4b14db658045aae0a27673d2bfdf028f7dce (patch) | |
tree | 169933df2876719ad7a19a0a9521d893223dff69 /zebra/kernel_netlink.c | |
parent | Merge pull request #7361 from wesleycoakley/alpine-build-fix (diff) | |
parent | zebra: fix unitialized msg header reading at startup (diff) | |
download | frr-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.c | 2 |
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; |