]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Fix crash when incoming connection for disabled protocol arrives
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 24 Apr 2025 01:01:19 +0000 (03:01 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 24 Apr 2025 01:01:19 +0000 (03:01 +0200)
commit9784c76c9abc00630a88c42cb340ce8c81b54bba
treeddbdbbc02ffc9dc8015bfe930132bae23785cb68
parentcff6a0c0155191ef4db216c49c58a74f36da9ed7
BGP: Fix crash when incoming connection for disabled protocol arrives

The function bgp_find_proto() may return a protocol in DOWN state, but
ao.keys (as most protocol data) are only valid in non-DOWN state.
proto/bgp/bgp.c