]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Prevent infinite loop when reading capabilities 1406/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 3 Nov 2017 19:25:31 +0000 (15:25 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 6 Nov 2017 15:38:05 +0000 (10:38 -0500)
commitd2b6417bd6f91cdc614c3bf983370c030f03642b
tree55945cef6dc7836d7724647a7fe1ba7a6214786f
parentedf344ebff93f9ae470ec2a373b5fa65c1442670
bgpd: Prevent infinite loop when reading capabilities

If the user has configured the ability to override
the capabilities or if the afi/safi passed as part
of the _MP capability is not understood, then we
can enter into an infinite loop as part of the
capability parsing.

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