New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Tue Oct 18 21:19:23 UTC 2022


Hi,

Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan.

1 new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1526378:  Control flow issues  (DEADCODE)
/bgpd/bgp_evpn_vty.c: 6631 in bgp_config_write_evpn_info()


________________________________________________________________________________________________________
*** CID 1526378:  Control flow issues  (DEADCODE)
/bgpd/bgp_evpn_vty.c: 6631 in bgp_config_write_evpn_info()
6625     			if (CHECK_FLAG(l3rt->flags, BGP_VRF_RT_WILD)) {
6626     				char *vni_str = NULL;
6627     
6628     				vni_str = strchr(ecom_str, ':') + 1;
6629     
6630     				if (!vni_str)
>>>     CID 1526378:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "continue;".
6631     					continue; /* This should never happen */
6632     
6633     				vty_out(vty, "  route-target import *:%s\n",
6634     					vni_str);
6635     
6636     			} else


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3DhVdi_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTyvJWLu96-2BFcjUCIhq2gpOpYb6HOkC6HUPCSlNuEuLhPLcI3taNmQmvDmjwuAiApZHoeK5cuH7vmFhRtux8OVkZyigdEOHVMUQzKj-2FO5p3kId4r-2F3A7K38luuukjtAGk4xxQxvuHUTH8e3NS-2Fk9NpmP7drHuJlIt6q6sXbEYh-2FidQ-3D-3D




More information about the dev mailing list