]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Check the length of the rcv software version 14250/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Sun, 20 Aug 2023 18:37:25 +0000 (21:37 +0300)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Mon, 21 Aug 2023 13:34:47 +0000 (13:34 +0000)
commit73ad93a83f18564bb7bff4659872f7ec1a64b05e
tree5c96d72f7ece5d90f7ff582062ee9ed26357e5d4
parent7a4b91533bc2d3c0dcc7879e8a3bbeff0da31ec7
bgpd: Check the length of the rcv software version

Make sure we don't exceed the maximum of BGP_MAX_SOFT_VERSION.

The Capability Length SHOULD be no greater than 64.

Reported-by: Iggy Frankovic <iggyfran@amazon.com>
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit b4d09af9194d20a7f9f16995a062f5d8e3d32840)
bgpd/bgp_open.c