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 1452064: Code maintainability issues (UNUSED_VALUE) /bgpd/bgp_attr.c: 2042 in bgp_attr_encap() ________________________________________________________________________________________________________ *** CID 1452064: Code maintainability issues (UNUSED_VALUE) /bgpd/bgp_attr.c: 2042 in bgp_attr_encap() 2036 stlv_last->next = tlv; 2037 } else { 2038 attr->vnc_subtlvs = tlv; 2039 } 2040 #endif 2041 }
CID 1452064: Code maintainability issues (UNUSED_VALUE) Assigning value from "tlv" to "stlv_last" here, but that stored value is overwritten before it can be used.
2042 stlv_last = tlv; 2043 } 2044 2045 if (BGP_ATTR_ENCAP == type) { 2046 attr->encap_tunneltype = tunneltype; 2047 }
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05... To manage Coverity Scan email notifications for "frr@lists.nox.tf", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...