]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Ensure that bgp_delete bgp pointer is non-null
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 12 Jun 2018 19:10:01 +0000 (15:10 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 12 Jun 2018 19:12:48 +0000 (15:12 -0400)
commitbf383464ea317027c5943e678aaabc70d285a04e
tree55c0f6eb9665d1756fcf049bf49e69f352fd1591
parent1f4b2cce9554a2634a3ec8ed9add71a2a41934f8
bgpd: Ensure that bgp_delete bgp pointer is non-null

Crash w/ an assert if someone calls bgp_delete with a
NULL parameter as opposed to crashing when we dereference
the pointer a bit later.

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