]> git.puffer.fish Git - mirror/frr.git/commit
zebra: fix buffer overflow 9686/head
authorIgor Ryzhov <iryzhov@nfware.com>
Tue, 28 Sep 2021 12:44:51 +0000 (15:44 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 28 Sep 2021 12:45:14 +0000 (15:45 +0300)
commitb7c21fad11d19458ab62202e10401a954cba5e1c
tree875d5fe9a64fc98886a80e9fc6b1d259d96e0478
parent01236d7aa7dab0891fa25012f87bc1fe3bbcfe9b
zebra: fix buffer overflow

mac is only 6 bytes long and we shouldn't blindly copy unknown number of
bytes into it.

Fixes #9671.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
zebra/rt_netlink.c