]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Ensure that bgp open message stream has enough data to read
authorDonald Sharp <sharpd@nvidia.com>
Wed, 2 Nov 2022 17:24:48 +0000 (13:24 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 2 Nov 2022 17:24:48 +0000 (13:24 -0400)
commit766eec1b7accffe2c04a5c9ebb14e9f487bb9f78
treed8a18d7a851d5e430be9730810725045656e418b
parent8d133f9460ab86e7aaa1658bd3df5d9cfbf1a6ad
bgpd: Ensure that bgp open message stream has enough data to read

If a operator receives an invalid packet that is of insufficient size
then it is possible for BGP to assert during reading of the packet
instead of gracefully resetting the connection with the peer.

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