Skip to content

Commit

Permalink
Merge pull request #15650 from FRRouting/mergify/bp/dev/10.0/pr-15647
Browse files Browse the repository at this point in the history
zebra: don't deref vxlan-vni array (backport #15647)
  • Loading branch information
mjstapp committed Apr 2, 2024
2 parents 643515b + 7dcbe2b commit b051d50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zebra/interface.c
Expand Up @@ -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));

Expand Down

0 comments on commit b051d50

Please sign in to comment.