]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix covery scan 1566054 with null pointer
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 27 Jun 2023 16:12:39 +0000 (18:12 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 28 Jun 2023 19:20:31 +0000 (21:20 +0200)
commit81664e720172b0d77da45f6574717510f8613335
tree184fa3a1dd742fb84f049a7e298c25256a02123d
parent07a2b9d41ee07f845121c117e2ba8586944371f6
bgpd: fix covery scan 1566054 with null pointer

The bmnc pointer is never null. Do not keep the test
on the pointer.

Fixes: 1069425868d1 ("bgpd: allocate label bound to received mpls vpn routes")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_mplsvpn.c