[dev] New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Fri Mar 30 12:42:54 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 1467125: Resource leaks (RESOURCE_LEAK)
/bgpd/bgp_flowspec.c: 176 in bgp_nlri_parse_flowspec()
________________________________________________________________________________________________________
*** CID 1467125: Resource leaks (RESOURCE_LEAK)
/bgpd/bgp_flowspec.c: 176 in bgp_nlri_parse_flowspec()
170 snprintf(local_string, BGP_FLOWSPEC_NLRI_STRING_MAX,
171 "FS Rx %s %s %s %s", withdraw ?
172 "Withdraw":"Update",
173 afi2str(afi), return_string,
174 attr != NULL ? ec_string : "");
175 zlog_info("%s", local_string);
>>> CID 1467125: Resource leaks (RESOURCE_LEAK)
>>> Variable "s" going out of scope leaks the storage it points to.
176 }
177 /* Process the route. */
178 if (!withdraw)
179 ret = bgp_update(peer, &p, 0, attr,
180 afi, safi,
181 ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL,
________________________________________________________________________________________________________
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-2FJlq21Pb8tRgoF-2FLkZce2kzQ0nHTJTQ-2FbNq1nXGncUZcXaAl60PuGmwGY-2BVPzp23N8-2Fm-2FVnjcWk3rx7-2FLI1c6hQ6TmrCvv56XPzjkK3MQyu-2Frztf0fPDxiBoEiM-2F42SET03wHoLmRx7LHPYMhEeLLSog3zLusq5t9CgjqeqXXuH82w-3D-3D
More information about the dev
mailing list