mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 00:06:09 +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
26277e5ac1
commit
59b445a07e
@ -1800,6 +1800,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