]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: zevpn cannot be null passed into zebra_evpn_es_evi_show_one_evpn
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 15 Aug 2020 17:41:18 +0000 (13:41 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Sun, 11 Oct 2020 14:47:37 +0000 (10:47 -0400)
commitba49e033f5d6fc97a9aa1e407ac542d226f12ff4
tree0d92e3ca4cb827f4e2c91e79b18940eaa378cc55
parentbc3cd39bc4d1cbaf0180b3e9839d30c6427459e6
zebra: zevpn cannot be null passed into zebra_evpn_es_evi_show_one_evpn

In zebra_evpn_es_evi_show_vni the zevpn pointer if passed into
zebra_evpn_es_evi_show_one_evi will crash if it is null and
we have code that checks that it is non null and then immediately
calls the function.  Add a return to prevent a crash.

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