New Defects reported by Coverity Scan for freerangerouting/frr
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. 5 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 1497769: Control flow issues (DEADCODE) /bgpd/bgp_vty.c: 1229 in router_bgp() ________________________________________________________________________________________________________ *** CID 1497769: Control flow issues (DEADCODE) /bgpd/bgp_vty.c: 1229 in router_bgp() 1223 return CMD_WARNING_CONFIG_FAILED; 1224 } 1225 /* unset the auto created flag as the user config is now present 1226 */ 1227 UNSET_FLAG(bgp->vrf_flags, BGP_VRF_AUTO); 1228
CID 1497769: Control flow issues (DEADCODE) Execution cannot reach the expression "name" inside this statement: "snprintf(base_xpath, 1024UL...".
1229 snprintf(base_xpath, sizeof(base_xpath), FRR_BGP_GLOBAL_XPATH, 1230 "frr-bgp:bgp", "bgp", name ? name : VRF_DEFAULT_NAME); 1231 1232 nb_cli_enqueue_change(vty, ".", NB_OP_CREATE, NULL); 1233 snprintf(as_str, 12, "%d", bgp->as); 1234 nb_cli_enqueue_change(vty, "./global/local-as", NB_OP_MODIFY,
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...
participants (1)
-
scan-admin@coverity.com