]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: fix bad bounds check for addpath in nlri
authorQuentin Young <qlyoung@cumulusnetworks.com>
Sun, 24 Nov 2019 07:02:54 +0000 (02:02 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Sun, 24 Nov 2019 07:48:11 +0000 (02:48 -0500)
commit761ed6652411fc127e1eacb82144f158b3042a72
tree1ed87b398147e0aad93f55b3dbf2dbb9601df15d
parenta5a1e515bb5ae39c6967a575b8742ebcb8962c7e
bgpd: fix bad bounds check for addpath in nlri

If a peer advertised capability addpath in their OPEN, but sent us an
UPDATE without an ADDPATH, we overflow a heap buffer.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_route.c