mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 08:56:13 +00:00
zebra: don't deref vxlan-vni array
Null-check the vxlan-vni array info coming into zebra from
the dataplane.
Signed-off-by: Mark Stapp <mjs@cisco.com>
(cherry picked from commit 75ef259b1d
)
This commit is contained in:
parent
643515b644
commit
7dcbe2b106
@ -1785,6 +1785,9 @@ interface_bridge_vxlan_vlan_vni_map_update(struct zebra_dplane_ctx *ctx,
|
||||
vlanid_t vid;
|
||||
int i;
|
||||
|
||||
if (vniarray == NULL)
|
||||
return;
|
||||
|
||||
memset(&vni_start, 0, sizeof(vni_start));
|
||||
memset(&vni_end, 0, sizeof(vni_end));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user