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. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 1480402: (DEADCODE) /zebra/zebra_fpm_netlink.c: 444 in netlink_route_info_encode() /zebra/zebra_fpm_netlink.c: 499 in netlink_route_info_encode() ________________________________________________________________________________________________________ *** CID 1480402: (DEADCODE) /zebra/zebra_fpm_netlink.c: 444 in netlink_route_info_encode() 438 439 encap = nhi->encap_info.encap_type; 440 if (encap > FPM_NH_ENCAP_NONE) { 441 addattr_l(&req->n, in_buf_len, RTA_ENCAP_TYPE, &encap, 442 sizeof(uint16_t)); 443 switch (encap) {
CID 1480402: (DEADCODE) Execution cannot reach this statement: "case FPM_NH_ENCAP_NONE:".
444 case FPM_NH_ENCAP_NONE: 445 break; 446 case FPM_NH_ENCAP_VXLAN: 447 vxlan = &nhi->encap_info.vxlan_encap; 448 nest = addattr_nest(&req->n, in_buf_len, 449 RTA_ENCAP); /zebra/zebra_fpm_netlink.c: 499 in netlink_route_info_encode() 493 if (encap > FPM_NH_ENCAP_NONE) { 494 rta_addattr_l(rta, sizeof(buf), RTA_ENCAP_TYPE, 495 &encap, sizeof(uint16_t)); 496 rtnh->rtnh_len += sizeof(struct rtattr) + 497 sizeof(uint16_t); 498 switch (encap) {
CID 1480402: (DEADCODE) Execution cannot reach this statement: "case FPM_NH_ENCAP_NONE:".
499 case FPM_NH_ENCAP_NONE: 500 break; 501 case FPM_NH_ENCAP_VXLAN: 502 vxlan = &nhi->encap_info.vxlan_encap; 503 nest = rta_nest(rta, sizeof(buf), RTA_ENCAP); 504 rta_addattr_l(rta, sizeof(buf), VXLAN_VNI,
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...