[dev] New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Thu Jul 27 15:23:55 EDT 2017


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-2BfV0V05UPxvVjWch-2Bd2MGckcRa7dJ8klHLUFWVd2fqpS-2B-2FHaN43B-2FQ11ntcKmbKat2WeHs8691VOJpZofPkpp-2BRBqc-3D_d-2Fi2nRutHp-2FDWtw8JRg-2Bc1m9CS4-2B5uVbodfDyLsp-2FJmxIY-2FfouYlLozWNlc8NKBgVgnxTxGtY-2FTAa3xeO6PXbV0sY9POzSz3B9gnzsUSxnEmq59koN85PVt2nCDw8Fm7TqsF9dX5QYqsw1ngz3NnvSAEmn3WGkW3ncUoFG9YQyHIli95qtBDhcQ35oyUnyBHreLpwV8zYIQWPDtAfaXM2g-3D-3D

To manage Coverity Scan email notifications for "frr at lists.nox.tf", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4lcTWm1Zma8LQDNpOYqrETKrqBiM18kcBcL8b08LzBPOYJYGySZ4Vv7d5QYcnSbGxl3QyORKgEmDxh-2BE2mj6dp1V4JSs2jbMZuLnEQJOW0Z0-3D_d-2Fi2nRutHp-2FDWtw8JRg-2Bc1m9CS4-2B5uVbodfDyLsp-2FJmxIY-2FfouYlLozWNlc8NKBg4Plu4Veex2JBiPq-2B4s1UaE-2BspDiSnCF56lbUTJD9oDNQ7rucL4s-2BzXByzM9r5VNJvr2aK90V8nlV3368EMqF4xIPbiS-2Fq2gM0fct2OHigFZOzUGVSvh9h5E37rHXyxtArnxWLQr9PCVCelAlQRAbTQ-3D-3D




More information about the dev mailing list