Hi, Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan. 2 new defect(s) introduced to freerangerouting/frr found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 2 of 2 defect(s) ** CID 1506502: Control flow issues (DEADCODE) /zebra/zebra_mpls_vty.c: 84 in zebra_mpls_transit_lsp() ________________________________________________________________________________________________________ *** CID 1506502: Control flow issues (DEADCODE) /zebra/zebra_mpls_vty.c: 84 in zebra_mpls_transit_lsp() 78 vty_out(vty, "%% Invalid label\n"); 79 return CMD_WARNING_CONFIG_FAILED; 80 } 81 82 if (add_cmd) { 83 if (!gate_str) {
CID 1506502: Control flow issues (DEADCODE) Execution cannot reach this statement: "vty_out(vty, "%% No Nexthop...".
84 vty_out(vty, "%% No Nexthop Information\n"); 85 return CMD_WARNING_CONFIG_FAILED; 86 } 87 if (!outlabel_str) { 88 vty_out(vty, "%% No Outgoing label Information\n"); 89 return CMD_WARNING_CONFIG_FAILED;
** CID 1506501: Control flow issues (DEADCODE) /bgpd/bgp_routemap.c: 1223 in route_match_alias() ________________________________________________________________________________________________________ *** CID 1506501: Control flow issues (DEADCODE) /bgpd/bgp_routemap.c: 1223 in route_match_alias() 1217 if (!found && strcmp(alias, com2alias) == 0) 1218 found = false; 1219 XFREE(MTYPE_TMP, communities[i]); 1220 } 1221 XFREE(MTYPE_TMP, communities); 1222 if (found)
CID 1506501: Control flow issues (DEADCODE) Execution cannot reach this statement: "return RMAP_MATCH;".
1223 return RMAP_MATCH; 1224 } 1225 1226 return RMAP_NOMATCH; 1227 } 1228
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...