[dev] New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Thu Feb 8 07:14:42 EST 2018
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 1453454: Resource leaks (RESOURCE_LEAK)
/zebra/zebra_vxlan.c: 1857 in zvni_gw_macip_del()
________________________________________________________________________________________________________
*** CID 1453454: Resource leaks (RESOURCE_LEAK)
/zebra/zebra_vxlan.c: 1857 in zvni_gw_macip_del()
1851 if (!CHECK_FLAG(n->flags, ZEBRA_NEIGH_LOCAL))
1852 return -1;
1853
1854 /* only need to delete the entry from bgp if we sent it before */
1855 if (advertise_gw_macip_enabled(zvni)) {
1856 if (IS_ZEBRA_DEBUG_VXLAN)
>>> CID 1453454: Resource leaks (RESOURCE_LEAK)
>>> Failing to save or free storage allocated by "prefix_mac2str(&n->emac, NULL, 18)" leaks it.
1857 zlog_debug("%u:SVI %s(%u) VNI %u, sending GW MAC %s IP %s del to BGP",
1858 ifp->vrf_id, ifp->name,
1859 ifp->ifindex, zvni->vni,
1860 prefix_mac2str(&(n->emac),
1861 NULL,
1862 ETHER_ADDR_STRLEN),
________________________________________________________________________________________________________
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-2FJmEAHay6yPzyT5rLKXTm9OCMH1KR0x3geuP8KwUMXlJfzB8yyWR1sHXyoPdMWScazJdkLKvtfh7OmTcMP6AWYq2trzi9JD8smo6F68f5YOJ5LMtYiF9ljqjhycRj6dHxIeTK7InUvwQbPuFKdfwBMjj9HsjYWiD18Bd7KzeVS5r3w-3D-3D
More information about the dev
mailing list