]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: SA set labels/num_labels to NULL/0
authorStephen Worley <sworley@nvidia.com>
Fri, 9 Dec 2022 22:23:32 +0000 (17:23 -0500)
committerStephen Worley <sworley@nvidia.com>
Mon, 13 Feb 2023 23:12:05 +0000 (18:12 -0500)
commit5313cd675885ec0f8fcc201c539b2920eeb5c5fa
treef648e80b901f1455eff0bd38ea93faf505956781
parent909002294f0fdbcd0b959f84e220ecdb5c7e85b8
bgpd: SA set labels/num_labels to NULL/0

Static Analysis caught a bug where we could be reading
garbage values for labels/num_lables. Fix that by
ensuring it's set to NULL/0 per loop of the mpath.

Signed-off-by: Stephen Worley <sworley@nvidia.com>
bgpd/bgp_zebra.c