]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix null pointer dereference 12339/head
authoranlan_cs <vic.lan@pica8.com>
Fri, 18 Nov 2022 13:48:16 +0000 (21:48 +0800)
committeranlan_cs <vic.lan@pica8.com>
Fri, 18 Nov 2022 14:06:37 +0000 (22:06 +0800)
commitf3a88e7272cd5b89e3d85b674db658f3a9ee87e1
treefb3c1979e36eff4a2a9f739dd881b4c10b168964
parent298748af21f1bd2a1e3890353e7ef6a47946cdf7
bgpd: fix null pointer dereference

It is possible there is no ip address in type2 prefix, that leads to crash in
`build_evpn_type2_prefix()`.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
bgpd/bgp_evpn_vty.c