Merge pull request #7382 from sworleys/Fix-Msg-Buff

zebra: fix unitialized msg header reading at startup
This commit is contained in:
Mark Stapp 2020-10-23 18:05:04 -04:00 committed by GitHub
commit 33fa4b14db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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