]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: remove bogus check
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Mon, 11 Oct 2021 21:29:54 +0000 (18:29 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Mon, 11 Oct 2021 21:29:54 +0000 (18:29 -0300)
commit21e33c958d6258943796a04b9ac29838a7b41283
tree6ac0ee1df1861474dee68c8938ffe5398fe4e481
parent690c3134a4f5657bce8d533d8459c2e9e1dcfe86
bgpd: remove bogus check

`bgp` pointer always exists and is used before this function call.

Calling `free` in `json` in this context will also cause a
use-after-free crash.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
bgpd/bgp_route.c