mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 06:03:10 +00:00
bgpd: on debug esi was not properly setup
There exists a code path where the esi would be passed to a debug without the esi being setup with any values causing us to display what ever is on the stack. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
8f15843bba
commit
35fb444b7a
@ -2840,6 +2840,7 @@ static int bgp_zebra_process_local_macip(ZAPI_CALLBACK_ARGS)
|
|||||||
stream_get(&esi, s, sizeof(esi_t));
|
stream_get(&esi, s, sizeof(esi_t));
|
||||||
} else {
|
} else {
|
||||||
state = stream_getl(s);
|
state = stream_getl(s);
|
||||||
|
memset(&esi, 0, sizeof(esi_t));
|
||||||
}
|
}
|
||||||
|
|
||||||
bgp = bgp_lookup_by_vrf_id(vrf_id);
|
bgp = bgp_lookup_by_vrf_id(vrf_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user