New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Thu Mar 25 12:02:25 UTC 2021


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.
37 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 1502949:  Possible Control flow issues  (DEADCODE)
/ospfd/ospf_vty.c: 7390 in show_ip_ospf_database_type_adv_router()


________________________________________________________________________________________________________
*** CID 1502949:  Possible Control flow issues  (DEADCODE)
/ospfd/ospf_vty.c: 7390 in show_ip_ospf_database_type_adv_router()
7384     		ospf = ospf_lookup_by_vrf_id(VRF_DEFAULT);
7385     		if (ospf == NULL || !ospf->oi_running) {
7386     			vty_out(vty, "%% OSPF instance not found\n");
7387     			return CMD_SUCCESS;
7388     		}
7389     
>>>     CID 1502949:  Possible Control flow issues  (DEADCODE)
>>>     Execution cannot reach the expression "1" inside this statement: "ret = show_ip_ospf_database...".
7390     		ret = show_ip_ospf_database_type_adv_router_common(
7391     			vty, ospf, idx ? 1 : 0, argc, argv, use_vrf, json, uj);
7392     	}
7393     
7394     	if (uj) {
7395     		vty_out(vty, "%s\n", json_object_to_json_string(json));


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3DNXDm_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTwy-2BTqv0xTUMUcSLPW6l0q9sVEx7gsoYeeiGFsTrNRJZhY5NTGUKSK8InzsdOY2UzUadPHI22HTwG6GOkhbQkghWOqWU2UNBQAmiKDj-2B-2BDoE6fCjOykKT3gXXZBjLZqVK9TLIRd7qIYzgWaOGVc8Blrik672GUSHdNvJgQnOCJNrinnuXAB-2FqBofCyAgEl7vjM-3D




More information about the dev mailing list