[dev] New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Fri Mar 23 13:05:18 EDT 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 1465679: Resource leaks (RESOURCE_LEAK)
/zebra/zebra_vty.c: 265 in zebra_static_route_holdem()
________________________________________________________________________________________________________
*** CID 1465679: Resource leaks (RESOURCE_LEAK)
/zebra/zebra_vty.c: 265 in zebra_static_route_holdem()
259 return CMD_SUCCESS;
260 }
261
262 if (!negate)
263 listnode_add_sort(static_list, shr);
264
>>> CID 1465679: Resource leaks (RESOURCE_LEAK)
>>> Variable "shr" going out of scope leaks the storage it points to.
265 return CMD_SUCCESS;
266 }
267
268 static int zebra_static_route_leak(
269 struct vty *vty, struct zebra_vrf *zvrf, struct zebra_vrf *nh_zvrf,
270 afi_t afi, safi_t safi, const char *negate, const char *dest_str,
________________________________________________________________________________________________________
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-2FJn5Pncz6-2BEtWHM3hxKxppVmfxBvxovDmVd1pFCwMB-2BHDpndOzgl7j2nP-2BDUNbicJV8H7ehDW6lno8nfl3IAbir0dTTkL-2F6c5rfOTHK-2FE-2F-2BUsawyCWPOBIa7kqRWauASA3g2cNHFUwhzy2aTgE0QQGKTilkY-2BrF8it1k3z-2B9X4XiGA-3D-3D
More information about the dev
mailing list