]> git.proxmox.com Git - mirror_frr.git/commit - zebra/rt_netlink.c
zebra: memset buf to prevent uninited writes into kernel
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 17 May 2018 22:46:14 +0000 (18:46 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 17 May 2018 22:46:14 +0000 (18:46 -0400)
commit5605ecfc1f059efff8ee2b558524456b0fe5a4b1
tree9bc807a9385d1b0628b13b9c1e11d14d7ba026b1
parent7bed0c42d51be22d03ae3b018910317f2af4241a
zebra: memset buf to prevent uninited writes into kernel

Setup the buf used for extra data passed into kernel such
that we are cleaning it out before writing data to it,
so we can avoid writing uninited data.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rt_netlink.c