]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Fix bugs in handling of shutdown messages
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 9 Sep 2019 01:48:27 +0000 (03:48 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 9 Sep 2019 01:49:35 +0000 (03:49 +0200)
commit1657c41c96b3c07d9265b07dd4912033ead4124b
tree11284c5d955db7d28a4cb2b3197880292bd0cca1
parent7300d79be91962e52c678c179e3b81a874a66673
BGP: Fix bugs in handling of shutdown messages

There is an improper check for valid message size, which may lead to
stack overflow and buffer leaks to log when a large message is received.

Thanks to Daniel McCarney for bugreport and analysis.
proto/bgp/packets.c